Пример #1
0
 @Override
 protected void onAttachedToWindow() {
   super.onAttachedToWindow();
   postInvalidate();
 }
Пример #2
0
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   releaseAvatar();
   loader.cancelRequest(this);
 }