@Override public void onAttachedToWindow() { super.onAttachedToWindow(); if (mAutoUpdateTheme) mTheme.addListener(this); }