void hideShowRunWhenCategories(String runwhen) { switch (runwhen) { case ServiceSettings.SCHEDULED: catBetween.setEnabled(true); break; default: catBetween.setEnabled(false); break; } }
private void updateStatus(boolean statue) { mLanguagePreference.setEnabled(statue); mAddChannelPreference.setEnabled(statue); mChannelListPreference.setEnabled(statue); }