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 io.ordunaleon.lumios.ui.DrawerActivity.java

public class DrawerActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener,
        SharedPreferences.OnSharedPreferenceChangeListener {

    private final String LOG_TAG = LogUtils.makeLogTag(this.getClass());

    private static final int PLAY_SERVICES_RESOLUTION_REQUEST = 9000;

From source file im.ene.lab.attiq.ui.activities.BaseActivity.java

/**
 * Created by eneim on 12/13/15.
 */
public abstract class BaseActivity extends AppCompatActivity
        implements SharedPreferences.OnSharedPreferenceChangeListener {

From source file org.voidsink.anewjkuapp.activity.SettingsActivity.java

public class SettingsActivity extends ThemedActivity implements SharedPreferences.OnSharedPreferenceChangeListener {

    public static final String ACTION_PREFS_LEGACY = "org.voidsink.anewjkuapp.prefs.LEGACY";
    public static final String ARG_SHOW_FRAGMENT = "show_fragment";

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

From source file org.lol.reddit.activities.CommentListingActivity.java

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

    private CommentListingController controller;

From source file com.viking.logking.LogService.java

public class LogService extends Service
        implements SharedPreferences.OnSharedPreferenceChangeListener, LogReceiver.Callbacks {

    public static final String ACTION_ROOT_FAILED = "com.readystatesoftware.ghostlog.ROOT_FAILED";

    private static final String TAG = "LogService";

From source file com.google.android.gms.location.sample.locationupdatespendingintent.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.appsimobile.appsii.Sidebar.java

/**
 * This class is the basic implementation of the sidebar. It communicates various
 * state events from Appsii to the SidebarPagerAdapter and manages the ViewPager
 */
public class Sidebar extends RelativeLayout implements LoaderListener, View.OnClickListener,
        SharedPreferences.OnSharedPreferenceChangeListener, AbstractSidebarPagerAdapter.FlagListener {

From source file com.terracom.mumbleclient.channel.ChannelFragment.java

/**
 * Class to encapsulate both a ChannelListFragment and ChannelChatFragment.
 * Created by andrew on 02/08/13.
 */
public class ChannelFragment extends JumbleServiceFragment
        implements SharedPreferences.OnSharedPreferenceChangeListener, ChatTargetProvider {

From source file com.google.android.apps.gutenberg.TimelineFragment.java

public class TimelineFragment extends RecyclerViewFragment
        implements LoaderManager.LoaderCallbacks<Cursor>, SharedPreferences.OnSharedPreferenceChangeListener {

    private static final int LOADER_ATTENDEES = 1;
    private static final int LOADER_EVENT = 2;

From source file com.wanderfar.expander.Settings.SettingsActivity.java

/**
 * A {@link PreferenceActivity} that presents a set of application settings. On
 * handset devices, settings are presented as a single list. On tablets,
 * settings are split by category, with category headers shown to the left of
 * the list of settings.
 * <p/>