@Override public void onResume() { super.onResume(); uiLifecycleHelper.onResume(); if (getView() != null) { TextView groups_tv = (TextView) getView().findViewById(R.id.drawer_option_my_groups); boolean allowSocialFeatures = socialPref.getBoolean(PrefManager.Key.ALLOW_SOCIAL_FEATURES, true); groups_tv.setVisibility(allowSocialFeatures ? View.VISIBLE : View.GONE); } }
@Override public void onResume() { super.onResume(); updateCurrentProgramValues(programsService); }