{"id":13989143,"url":"https://github.com/ethanhua/Skeleton","last_synced_at":"2025-07-22T10:31:23.184Z","repository":{"id":37677964,"uuid":"98780134","full_name":"ethanhua/Skeleton","owner":"ethanhua","description":"A library provides an easy way to show skeleton loading view like Facebook and Alipay","archived":false,"fork":false,"pushed_at":"2021-07-31T07:30:24.000Z","size":17001,"stargazers_count":3687,"open_issues_count":28,"forks_count":457,"subscribers_count":47,"default_branch":"master","last_synced_at":"2024-11-29T08:38:10.444Z","etag":null,"topics":["android-library","android-ui","loadingview","placeholder","shimmer","skeleton-loading","stateview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethanhua.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}},"created_at":"2017-07-30T06:42:39.000Z","updated_at":"2024-11-26T00:36:35.000Z","dependencies_parsed_at":"2022-07-12T16:42:58.501Z","dependency_job_id":null,"html_url":"https://github.com/ethanhua/Skeleton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethanhua/Skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanhua%2FSkeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanhua%2FSkeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanhua%2FSkeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanhua%2FSkeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethanhua","download_url":"https://codeload.github.com/ethanhua/Skeleton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanhua%2FSkeleton/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266475072,"owners_count":23934877,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-library","android-ui","loadingview","placeholder","shimmer","skeleton-loading","stateview"],"created_at":"2024-08-09T13:01:32.237Z","updated_at":"2025-07-22T10:31:22.333Z","avatar_url":"https://github.com/ethanhua.png","language":"Java","readme":"# Skeleton(Deprecated)\n[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)  \nThe library provides an easy way to show skeleton loading view like Facebook and Alipay. \nIt now uses a memory optimised version of shimmer animation so it is even faster and you can animate bigger layouts as well.\n\n# Preview\n\n\n![img](screenshots/01.gif)\n![img](screenshots/02.gif)\n![img](screenshots/03.gif)\n![img](screenshots/04.gif)\n\n# Demo Apk\n\nyou can scan the qrcode for download demo apk\n\n![](screenshots/qrcode.png)\n\n# Feature\n\n- Light\n- Noninvasive, you don't need to make changes to existing code.\n- Wide applicability，it is available for all views\n- Memory optimised\n\n# Getting started\n\nIn your build.gradle:\n```\ndependencies {\n       implementation 'com.ethanhua:skeleton:1.1.2'\n       implementation 'io.supercharge:shimmerlayout:2.1.0'\n    }\n```\n    \n    \n\n# Usage\n  For RecyclerView:\n  ```java\n  skeletonScreen = Skeleton.bind(recyclerView)\n                                .adapter(adapter)\n                                .load(R.layout.item_skeleton_news)\n                                .show();\n  ``` \n       \n                                \n                         \n  For View:\n  ```java\n  skeletonScreen = Skeleton.bind(rootView)\n                                .load(R.layout.layout_img_skeleton)\n                                .show();\n  ```    \n       \n                                \n                       \n  More Config:\n  ```java\n  .shimmer(true)      // whether show shimmer animation.                      default is true\n  .count(10)          // the recycler view item count.                        default is 10\n  .color(color)       // the shimmer color.                                   default is #a2878787\n  .angle(20)          // the shimmer angle.                                   default is 20;\n  .duration(1000)     // the shimmer animation duration.                      default is 1000;\n  .frozen(false)      // whether frozen recyclerView during skeleton showing  default is true; \n```\n                            \n  when data return you can call the method to hide skeleton loading view \n   ```java\n  skeletonScreen.hide()\n   ```\n       \n        \n # Thanks\n \n https://github.com/team-supercharge/ShimmerLayout\n \n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanhua%2FSkeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethanhua%2FSkeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanhua%2FSkeleton/lists"}