模仿饿了么加载效果

Overview

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();
You might also like...
Comments
  • Issue with AlertDialog

    Issue with AlertDialog

    If implemented in an alert dialog with custom view, a black box shows up.

    I tried calling start function with delay or in "OnDialogShow" listener callback, But it didn't work.

    Please let me know if anyone figure out what's wrong with my approach.

    Thank you

    opened by DroidBoyJr 0
Releases(1.0)
Owner
deadline
just do it
deadline