Drawable.Callback

时间:2014-06-05 14:13:44   收藏:0   阅读:218

 一。介绍

public abstract void invalidateDrawable (Drawable who)

of itself where the drawable appears).

 

public abstract void scheduleDrawable (Drawable who, Runnable what, long when)

postAtTime(Runnable, Object, long) with the parameters (what, who, when) to perform the scheduling.

 


public abstract void unscheduleDrawable (Drawable who, Runnable what)

An implementation can generally simply call removeCallbacks(Runnable, Object) with the parameters (what, who) to unschedule the drawable.

 

二。示例

glslidingBar

 

Drawable.Callback,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!