{"id":22041793,"url":"https://github.com/zaminalirustemov/shimmeranimation","last_synced_at":"2025-07-13T15:38:31.884Z","repository":{"id":263124543,"uuid":"888114220","full_name":"zaminalirustemov/ShimmerAnimation","owner":"zaminalirustemov","description":"A Shimmer Animation Library for Kotlin, built with XML.","archived":false,"fork":false,"pushed_at":"2025-03-06T09:15:10.000Z","size":7313,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T00:44:11.576Z","etag":null,"topics":["android","android-animation","android-development","android-library","android-ui","android-ui-components","animation","customization","kotlin","kotlin-library","library","open-source","performance","shimmer","shimmer-effect","shimmer-loading","ui-components","visual-effects","xml","xml-language"],"latest_commit_sha":null,"homepage":"https://bento.me/zaminalirustamov","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaminalirustemov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-13T20:54:13.000Z","updated_at":"2025-03-06T09:15:13.000Z","dependencies_parsed_at":"2024-12-02T09:19:54.176Z","dependency_job_id":"4795459d-6166-451f-a0fc-6303afe051b9","html_url":"https://github.com/zaminalirustemov/ShimmerAnimation","commit_stats":null,"previous_names":["zaminalirustemov/shimmer_effect","zaminalirustemov/shimmeranimation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zaminalirustemov/ShimmerAnimation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaminalirustemov%2FShimmerAnimation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaminalirustemov%2FShimmerAnimation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaminalirustemov%2FShimmerAnimation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaminalirustemov%2FShimmerAnimation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaminalirustemov","download_url":"https://codeload.github.com/zaminalirustemov/ShimmerAnimation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaminalirustemov%2FShimmerAnimation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265165226,"owners_count":23721330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-animation","android-development","android-library","android-ui","android-ui-components","animation","customization","kotlin","kotlin-library","library","open-source","performance","shimmer","shimmer-effect","shimmer-loading","ui-components","visual-effects","xml","xml-language"],"created_at":"2024-11-30T12:09:16.638Z","updated_at":"2025-07-13T15:38:31.861Z","avatar_url":"https://github.com/zaminalirustemov.png","language":"Kotlin","funding_links":["https://www.buymeacoffee.com/zaminalirustamov"],"categories":[],"sub_categories":[],"readme":"\n  \n# Shimmer Animation\n- ![kotlin](https://img.shields.io/badge/Platforms-Kotlin_Compatible-lightblue?style=for-the-badge\u0026logo=kotlin)\n- ![kotlin](https://img.shields.io/badge/Made_With-Kotlin-0095D9?style=for-the-badge\u0026logo=kotlin)\n- ![android_7](https://img.shields.io/badge/Android-7.0_Nougat-green?style=for-the-badge)\n- ![min_sdk](https://img.shields.io/badge/minSdk-24-orange?style=for-the-badge)\n\n\u003cp align=\"center\"\u003eA Shimmer Animation library for Kotlin.\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg width=30% src=\"./examples/example shimmer animation base.gif\"\u003e\n\u003cimg width=27% src=\"./examples/example shimmer animation.gif\"\u003e\n\u003c/p\u003e\n\n\n## 📦 Features\n\n- 🌈 **Customizable Direction**  \n  Tailor the shimmer animation’s direction to fit your design needs:  \n  - **LEFT_TO_RIGHT**: Shimmer moves from left to right  \n  - **TOP_TO_BOTTOM**: Shimmer moves from top to bottom  \n  - **RIGHT_TO_LEFT**: Shimmer moves from right to left  \n  - **BOTTOM_TO_TOP**: Shimmer moves from bottom to top\n\n- 🛠 **Customizable Shape**  \n  Choose the shimmer effect that best suits your UI:  \n  - **LINEAR**: A simple, linear shimmer effect  \n  - **RADIAL**: A circular, radial shimmer effect  \n\n- 🔥 **Customizable Intensity**  \n  Adjust the shimmer intensity to create the desired visual impact that matches your app’s style.\n\n- ✨ **Customizable Fadeout**  \n  Smoothly control the fadeout effect of the shimmer animation for seamless transitions.\n\n- 🔁 **Customizable Repeat Count**  \n  Define how many times the shimmer animation will repeat, giving you full control over the effect duration.\n\n- ⏳ **Customizable Animation Duration**  \n  Set the duration of each shimmer cycle, allowing you to control how long the effect lasts.\n\n- 🕒 **Customizable Repeat Delay**  \n  Manage the time interval between consecutive shimmer cycles for a more natural animation flow.\n\n- 🚀 **Customizable Start Delay**  \n  Set a delay before the shimmer animation begins to create a more dynamic timing sequence.\n\n## 🛠 Installation\n**Step 1.**  Add it in your root setting.gradle at the end of repositories: \n```kotlin\n\tdependencyResolutionManagement {\n\t\trepositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n\t\trepositories {\n\t\t\tmavenCentral()\n\n        \t\t// Include JitPack, a repository that allows you to fetch dependencies from GitHub projects.\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n**Step 2.**  Add the dependency\n\n```kotlin\n\t// This dependencies block is for the build.gradle\n\tdependencies {\n\t        implementation 'com.github.zaminalirustamov:Shimmer_Animation:1.0.2'\n\t}\n```\n## 🚀 Usage\n### Example\n\n```xml\n\u003c!-- Shimmer Animation for Toolbar --\u003e  \n\u003caz.lahza.shimmer_animation.shimmer.ShimmerFrameLayout  \n\t  android:id=\"@+id/shimmer_animation_toolbar\"  \n\t  android:layout_width=\"wrap_content\"  \n\t  android:layout_height=\"wrap_content\"  \n\t  android:layout_marginVertical=\"16dp\"  \n\t  app:layout_constraintEnd_toEndOf=\"parent\"  \n\t  app:layout_constraintStart_toStartOf=\"parent\"  \n\t  app:layout_constraintTop_toTopOf=\"parent\"\u003e  \n  \n\t\t  \u003candroidx.constraintlayout.widget.ConstraintLayout  \n\t\t\t  android:layout_width=\"wrap_content\"  \n\t\t\t  android:layout_height=\"wrap_content\"\u003e  \n  \n\t\t\t  \u003cinclude  \n\t\t\t\t  layout=\"@layout/layout_shimmer_placeholder\"  \n\t\t\t\t  android:layout_width=\"100dp\"  \n\t\t\t\t  android:layout_height=\"25dp\" /\u003e  \n\t  \u003c/androidx.constraintlayout.widget.ConstraintLayout\u003e  \n  \n\u003c/az.lahza.shimmer_animation.shimmer.ShimmerFrameLayout\u003e\n```\n\n```xml\n\u003c!-- Shimmer Animation for Data --\u003e  \n\u003caz.lahza.shimmer_animation.shimmer.ShimmerFrameLayout  \n\t  android:id=\"@+id/shimmer_animation_data\"  \n\t  android:layout_width=\"match_parent\"  \n\t  android:layout_height=\"0dp\"  \n\t  app:layout_constraintBottom_toBottomOf=\"parent\"  \n\t  app:layout_constraintEnd_toEndOf=\"parent\"  \n\t  app:layout_constraintStart_toStartOf=\"parent\"  \n\t  app:layout_constraintTop_toBottomOf=\"@id/shimmer_animation_section_name\"\u003e  \n  \n\t  \u003candroidx.constraintlayout.widget.ConstraintLayout  \n\t\t  android:layout_width=\"match_parent\"  \n\t\t  android:layout_height=\"match_parent\"\u003e  \n  \n\t\t  \u003cinclude  \n\t\t\t  android:id=\"@+id/first_item\"  \n\t\t\t  layout=\"@layout/layout_item_data\"  \n\t\t\t  android:layout_width=\"wrap_content\"  \n\t\t\t  android:layout_height=\"wrap_content\" /\u003e  \n  \n\t\t \u003cinclude  \n\t\t\t android:id=\"@+id/second_item\"  \n\t\t\t layout=\"@layout/layout_item_data\"  \n\t\t\t android:layout_width=\"wrap_content\"  \n\t\t\t android:layout_height=\"wrap_content\"  \n\t\t\t app:layout_constraintTop_toBottomOf=\"@id/first_item\" /\u003e  \n\t\t\t   \n\t\t \u003cinclude  \n\t\t\t android:id=\"@+id/third_item\"  \n\t\t\t layout=\"@layout/layout_item_data\"  \n\t\t\t android:layout_width=\"wrap_content\"  \n\t\t\t android:layout_height=\"wrap_content\"  \n\t\t\t app:layout_constraintTop_toBottomOf=\"@id/second_item\" /\u003e  \n\t\t\t   \n\t\t \u003cinclude  \n\t\t\t android:id=\"@+id/fourth_item\"  \n\t\t\t layout=\"@layout/layout_item_data\"  \n\t\t\t android:layout_width=\"wrap_content\"  \n\t\t\t android:layout_height=\"wrap_content\"  \n\t\t\t app:layout_constraintTop_toBottomOf=\"@id/third_item\" /\u003e  \n  \n\t  \u003c/androidx.constraintlayout.widget.ConstraintLayout\u003e  \n  \n\u003c/az.lahza.shimmer_animation.shimmer.ShimmerFrameLayout\u003e\n```\n\nFor more examples, check out the code\n\n## 🤝 Contribution\nI highly appreciate and welcome any issue reports, feature requests, pull requests, or GitHub stars you may provide.\n\n\u003ca href=\"https://www.buymeacoffee.com/zaminalirustamov\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaminalirustemov%2Fshimmeranimation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaminalirustemov%2Fshimmeranimation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaminalirustemov%2Fshimmeranimation/lists"}