List of usage examples for android.content SharedPreferences.OnSharedPreferenceChangeListener interface-usage
From source file com.android.switchaccess.OptionManager.java
/** * Manages options in a tree of {@code OptionScanNodes} and traverses them as options are * selected. */ public class OptionManager implements SharedPreferences.OnSharedPreferenceChangeListener { public static final int OPTION_INDEX_CLICK = 0;
From source file com.commonsware.android.arXiv.CategoriesListFragment.java
public class CategoriesListFragment extends ListFragment implements SharedPreferences.OnSharedPreferenceChangeListener { static String[] items = { "Astrophysics", "Condensed Matter", "Computer Science", "General Relativity", "HEP Experiment", "HEP Lattice", "HEP Phenomenology", "HEP Theory", "Mathematics", "Mathematical Physics", "Misc Physics", "Nonlinear Sciences", "Nuclear Experiment", "Nuclear Theory", "Quantitative Biology", "Quantitative Finance", "Quantum Physics", "Statistics" };
From source file org.jamienicol.episodes.AutoRefreshHelper.java
public class AutoRefreshHelper implements SharedPreferences.OnSharedPreferenceChangeListener { private static final String TAG = AutoRefreshHelper.class.getName(); private static final String KEY_PREF_AUTO_REFRESH_ENABLED = "pref_auto_refresh_enabled"; private static final String KEY_PREF_AUTO_REFRESH_PERIOD = "pref_auto_refresh_period"; private static final String KEY_PREF_AUTO_REFRESH_WIFI_ONLY = "pref_auto_refresh_wifi_only";
From source file com.vadimfrolov.duorem.MainActivity.java
public class MainActivity extends ActivityNet implements SharedPreferences.OnSharedPreferenceChangeListener, RemoteCommandResult { public static final String KEY_PREF_TARGET = "target"; private final String TAG = "MainActivity";
From source file com.kobi.metalsexchange.app.MainActivity.java
public class MainActivity extends AppCompatActivity implements ExchangeRatesFragment.Callback, FABHideable, SharedPreferences.OnSharedPreferenceChangeListener { private final String LOG_TAG = MainActivity.class.getSimpleName(); private static final String DETAILFRAGMENT_TAG = "DFTAG"; private static final String CHARTFRAGMENT_TAG = "CFTAG";
From source file org.chaos.fx.cnbeta.theme.ThemePreferencesFragment.java
public class ThemePreferencesFragment extends PreferenceFragmentCompat implements Preference.OnPreferenceClickListener, Preference.OnPreferenceChangeListener, SharedPreferences.OnSharedPreferenceChangeListener, SkinObserver { private static final String TAG = "ThemePreferencesFragmen";
From source file com.sssemil.advancedsettings.MainActivity.java
public class MainActivity extends WearPreferenceActivity implements SharedPreferences.OnSharedPreferenceChangeListener { private static final int REQUEST = 123; //private AlertDialog mAlertDialog; //private boolean mContinue = false;
From source file de.aw.monma.mainscreen.FragmentFinanzen.java
/** * Fragment zur Anzeige der Konten mit entsprechendem Saldo. */ public class FragmentFinanzen extends AWItemListRecyclerViewFragment<AccountListItem> implements SharedPreferences.OnSharedPreferenceChangeListener, TableColums { private static final String orderBy = AbstractDBHelper.getCommaSeperatedList(column_accounttyp,
From source file com.android.switchaccess.treebuilding.TreeBuilder.java
/** * Base class for tree building. Includes some common utility methods. */ @TargetApi(Build.VERSION_CODES.LOLLIPOP) public abstract class TreeBuilder implements SharedPreferences.OnSharedPreferenceChangeListener { /* TODO Support all actions, perhaps conditioned on user preferences */
From source file barqsoft.footballscores.ScoresFragment.java
/** * This fragment represent the main screen of the app and will display a list of matches with * data taken from database. It will also display appropriate message to te user when internet is * down or serveur is down. */ public class ScoresFragment extends Fragment