# Skeleton **Repository Path**: vaycent/Skeleton ## Basic Information - **Project Name**: Skeleton - **Description**: A library provide a easy way to show skeleton loading view like facebook and alipay - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-30 - **Last Updated**: 2024-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # skeleton a library provide a easy way to show skeleton loading view like facebook and alipay # Preview ![img](screenshots/01.gif) ![img](screenshots/02.gif) ![img](screenshots/03.gif) ![img](screenshots/04.gif) # Demo Apk you can scan the qrcode for download demo apk ![](screenshots/qrcode.png) # Feature - Light - Noninvasive,You don't need to make changes to existing code. - Wide applicability,It is available for all views # Getting started In your build.gradle: dependencies { compile 'com.ethanhua:skeleton:0.2.2' } # Usage for recyclerview: skeletonScreen = Skeleton.bind(recyclerView) .adapter(adapter) .load(R.layout.item_skeleton_news) .count(10) .show();  for view:  skeletonScreen = Skeleton.bind(rootView) .load(R.layout.layout_img_skeleton) .show(); when data return you can call the method to hide skeleton loading view skeletonScreen.hide() # Thanks https://github.com/sharish/ShimmerRecyclerView https://github.com/facebook/shimmer-android # License Copyright 2017, ethanhua Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.