Example usage for android.content SharedPreferences.OnSharedPreferenceChangeListener interface-usage

List of usage examples for android.content SharedPreferences.OnSharedPreferenceChangeListener interface-usage

Introduction

In this page you can find the example usage for android.content SharedPreferences.OnSharedPreferenceChangeListener interface-usage.

Usage

From source file com.wolkabout.hexiwear.fragment.HexiwearSettingsFragment.java

@PreferenceScreen(R.xml.pref_hexiwear_settings)
@EFragment
public class HexiwearSettingsFragment extends PreferenceFragment
        implements SharedPreferences.OnSharedPreferenceChangeListener, Preference.OnPreferenceChangeListener {

    private static final String TAG = HexiwearSettingsFragment.class.getSimpleName();

From source file com.ryan.ryanreader.activities.CommentListingActivity.java

public class CommentListingActivity extends RefreshableActivity implements RedditAccountChangeListener,
        SharedPreferences.OnSharedPreferenceChangeListener, OptionsMenuUtility.OptionsMenuCommentsListener,
        RedditPostView.PostSelectionListener, SessionChangeListener {

    private CommentListingController controller;

From source file net.tjado.passwdsafe.PreferencesFragment.java

/**
 * Fragment for PasswdSafe preferences
 */
public class PreferencesFragment extends PreferenceFragmentCompat implements ConfirmPromptDialog.Listener,
        SharedPreferences.OnSharedPreferenceChangeListener, Preference.OnPreferenceClickListener {
    /** Listener interface for owning activity */

From source file edgargtzg.popularmovies.DiscoverMoviesFragment.java

/**
 * Fragment contains the discover movies functionality which populates the view based on the
 * selected sort order in Settings.
 */
public class DiscoverMoviesFragment extends Fragment implements SharedPreferences.OnSharedPreferenceChangeListener {

From source file com.jaisonbrooks.alexandria.AddActivity.java

public final class AddActivity extends BaseActivity
        implements LoaderManager.LoaderCallbacks<Cursor>, SharedPreferences.OnSharedPreferenceChangeListener {

    public static final int REQUEST_CODE = 0x0000c0de; // Only use bottom 16 bits

    private final int LOADER_ID = 1;

From source file com.tingtingapps.securesms.ApplicationPreferencesActivity.java

/**
 * The Activity for application preference display and management.
 *
 * @author Moxie Marlinspike
 *
 */

From source file org.thoughtcrime.securesms.ApplicationPreferencesActivity.java

/**
 * The Activity for application preference display and management.
 *
 * @author Moxie Marlinspike
 *
 */

From source file org.chaos.fx.cnbeta.preferences.PreferencesFragment.java

/**
 * @author Chaos
 *         15/02/2017
 */

public class PreferencesFragment extends PreferenceFragmentCompat

From source file com.google.android.gms.location.sample.backgroundlocationupdates.MainActivity.java

/**
 * The only activity in this sample. Displays UI widgets for requesting and removing location
 * updates, and for the batched location updates that are reported.
 *
 * Location updates requested through this activity continue even when the activity is not in the
 * foreground. Note: apps running on "O" devices (regardless of targetSdkVersion) may receive

From source file com.ewintory.alexandria.ui.activity.AddActivity.java

public final class AddActivity extends BaseActivity
        implements LoaderManager.LoaderCallbacks<Cursor>, SharedPreferences.OnSharedPreferenceChangeListener {

    public static final int REQUEST_CODE = 0x0000c0de; // Only use bottom 16 bits

    private final int LOADER_ID = 1;