Пример #1
0
 @Override
 protected void onVisibilityChanged(View changedView, int visibility) {
   super.onVisibilityChanged(changedView, visibility);
   if (View.VISIBLE == visibility) {
     checkBox.setChecked(false);
   }
 }
Пример #2
0
 @Override
 protected void onWindowVisibilityChanged(int visibility) {
   super.onWindowVisibilityChanged(visibility);
   if (View.VISIBLE == visibility) {
     checkBox.setChecked(false);
   }
 }
Пример #3
0
 @Override
 protected void onAttachedToWindow() {
   super.onAttachedToWindow();
   System.out.println("========  222   ========");
 }
Пример #4
0
 @Override
 public void onWindowFocusChanged(boolean hasWindowFocus) {
   super.onWindowFocusChanged(hasWindowFocus);
   checkBox.setChecked(false);
 }
Пример #5
0
 @Override
 protected void onRestoreInstanceState(Parcelable state) {
   super.onRestoreInstanceState(state);
 }