View.setBackground(Drawable)
ImageView.setImagDrawable(Drawable)
View.mBackground在View.draw(Canvas)中绘制,调用Drawable.draw(Canvas)
ImageView.mDrawable在ImageView.onDraw(Canvas)中绘制,调用Drawable.draw(Canvas)
APIDrawable.invalidateSelf
更新
Drawable.scheduleSelf(Runnable, long)
延时更新
Drawable.unscheduleSelf
取消延时更新
接口,定义更新相关方法invalidateDrawable、scheduleDrawable、unscheduleDrawable
调用传入的Drawable.Callback的invalidateDrawable方法
调用传入的Drawable.Callback的scheduleDrawable方法
调用传入的Drawable.Callback的unscheduleDrawable方法
在UI线程中延时执行传入的Runnable
在UI线程中取消执行Runnable
调用View.invalidate方法