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