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