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.readystatesoftware.ghostlog.ServerlessLogScreen.java

public class ServerlessLogScreen
        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 arun.com.chromer.settings.lookandfeel.WebHeadPreferenceFragment.java

public class WebHeadPreferenceFragment extends BasePreferenceFragment
        implements SharedPreferences.OnSharedPreferenceChangeListener {

    private final String[] SUMMARY_GROUP = new String[] { WEB_HEAD_SPAWN_LOCATION, WEB_HEADS_COLOR,
            WEB_HEAD_SIZE, };

From source file com.jefftharris.passwdsafe.FileListActivity.java

/**
 * The FileListActivity is the main PasswdSafe activity for file choosing and
 * top-level options
 */
public class FileListActivity extends AppCompatActivity
        implements AboutFragment.Listener, FileListFragment.Listener, FileListNavDrawerFragment.Listener,

From source file com.jefftharris.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 com.ravi.apps.android.newsbytes.MainActivity.java

public class MainActivity extends AppCompatActivity
        implements HeadlinesFragment.OnHeadlineSelectedListener, SharedPreferences.OnSharedPreferenceChangeListener,
        DeleteFavoritesDialogFragment.DeleteFavoritesDialogListener {

    // Tag for logging messages.
    public static final String LOG_TAG = MainActivity.class.getSimpleName();

From source file com.wmstein.transektcount.EditSectionActivity.java

/*************************************************************************
 * Edit the current section list (change, delete) and insert new species
 * EditSectionActivity is called from CountingActivity.
 * Uses CountEditWidget.java, EditTitleWidget.java, EditNotesWidget.java,
 * activity_edit_section.xml, widget_edit_title.xml, widget_edit_notes.xml.
 * Based on EditProjectActivity.java by milo on 05/05/2014.

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

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

From source file com.harrcharr.reverb.StreamNodeFragment.java

public abstract class StreamNodeFragment<T extends StreamNode> extends SherlockFragment
        implements PulseConnectionListener, HasPulseManager, SharedPreferences.OnSharedPreferenceChangeListener {
    protected ViewGroup mNodeHolder;
    private MarginLayoutParams mLayoutParams;
    private ArrayList<StreamNodeView<T>> mNodeViews = new ArrayList<StreamNodeView<T>>();

From source file com.rascarlo.aurdroid.MainActivity.java

public class MainActivity extends AppCompatActivity implements SearchFragmentCallback, SearchResultFragmentCallback,
        InfoResultFragmentCallback, SharedPreferences.OnSharedPreferenceChangeListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setAppTheme(false);

From source file si.vei.pedram.sunshine.fragments.ForecastFragment.java

/**
 * Encapsulates fetching the forecast and displaying it as a {@link ListView} layout.
 */
public class ForecastFragment extends Fragment
        implements LoaderManager.LoaderCallbacks<Cursor>, SharedPreferences.OnSharedPreferenceChangeListener {
    public static final String LOG_TAG = ForecastFragment.class.getSimpleName();