• Stars
    star
    248
  • Rank 163,560 (Top 4 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

模仿饿了么加载效果

BounceLoadingView

模仿饿了么加载效果

#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();