示例#1
0
 @Override
 protected void onAttachedToWindow() {
   super.onAttachedToWindow();
   postInvalidate();
 }
示例#2
0
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   releaseAvatar();
   loader.cancelRequest(this);
 }