Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niniloveyou/BounceLoadingView
模仿饿了么加载效果
https://github.com/niniloveyou/BounceLoadingView
android loading-view
Last synced: 3 months ago
JSON representation
模仿饿了么加载效果
- Host: GitHub
- URL: https://github.com/niniloveyou/BounceLoadingView
- Owner: niniloveyou
- License: apache-2.0
- Created: 2016-09-26T02:09:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-11T03:58:54.000Z (almost 8 years ago)
- Last Synced: 2024-06-16T01:33:22.188Z (5 months ago)
- Topics: android, loading-view
- Language: Java
- Size: 146 KB
- Stars: 249
- Watchers: 5
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - BounceLoadingView - 模仿饿了么加载效果 (进度条)
README
# BounceLoadingView
模仿饿了么加载效果![](https://github.com/niniloveyou/BounceLoadingView/blob/master/bounceLoadingView.gif)
#System Requirement
Android API 11+, Because of the use of ValueAnimation, if you want use it on API 8, please use NineoldAndroids library in your project.
#Usage
loadingView.addBitmap(R.mipmap.v4);
or
loadingView.addBitmap(bitmap);
or
loadingView.addBitmaps(mBitmapList);
//set the shadow color
loadingView.setShadowColor(Color.LTGRAY);
//set the duration of animation
loadingView.setDuration(800);
loadingView.start();