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