Пример #1
0
 @Override
 public void onStartTemporaryDetach() {
   super.onStartTemporaryDetach();
   onDetach();
 }
Пример #2
0
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   onDetach();
 }