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.commonsware.empub.EmPubActivity.java

public class EmPubActivity extends SherlockFragmentActivity implements NavListener,
        SharedPreferences.OnSharedPreferenceChangeListener, DownloadCheckTask.OnCompletionListener {
    public static final String TAG = "EmPub";
    public static final String CONTENT_PREFIX = "file:///android_asset/";
    public static final String EXTRA_FILE = "file";
    private static final String PREF_SAVE_LAST_POSITION = "saveLastPosition";

From source file com.juztoss.rhythmo.views.activities.SettingsActivity.java

/**
 * Created by JuzTosS on 5/27/2016.
 */
public class SettingsActivity extends BasePlayerActivity
        implements SharedPreferences.OnSharedPreferenceChangeListener {
    private PrefsFragment mPrefsFragment;

From source file com.veniosg.dir.android.fragment.PreferenceFragment.java

public class PreferenceFragment extends android.preference.PreferenceFragment
        implements SharedPreferences.OnSharedPreferenceChangeListener {
    private static final String PREFS_MEDIASCAN = "mediascan";
    private static final String PREFS_DISPLAYHIDDENFILES = "displayhiddenfiles";
    private static final String PREFS_DEFAULTPICKFILEPATH = "defaultpickfilepath";
    private static final String PREFS_SORTBY = "sortby";

From source file com.example.android.ennis.barrett.popularmovies.MainFragment.java

public class MainFragment extends Fragment implements AdapterView.OnItemClickListener,
        LoaderManager.LoaderCallbacks<Cursor>, SharedPreferences.OnSharedPreferenceChangeListener {

    private static final String TAG = "popularmovies " + MainFragment.class.getSimpleName();
    private GridAdapter mAdapter;
    private static final String LOADER_BUNDLE_KEY = "thebundlekeys";

From source file android.example.com.visualizerpreferences.VisualizerActivity.java

public class VisualizerActivity extends AppCompatActivity
        implements SharedPreferences.OnSharedPreferenceChangeListener {

    private static final int MY_PERMISSION_RECORD_AUDIO_REQUEST_CODE = 88;
    private VisualizerView mVisualizerView;
    private AudioInputReader mAudioInputReader;

From source file com.vignesh.conf.SettingsFragment.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>

From source file org.solovyev.android.calculator.CalculatorKeyboardFragment.java

/**
 * User: Solovyev_S
 * Date: 25.09.12
 * Time: 12:25
 */
public class CalculatorKeyboardFragment extends Fragment

From source file mobile.client.iot.pzalejko.iothome.mqtt.MqttService.java

/**
 * The {@link MqttService} is responsible for establishing a connection to the MQTT broker. It also registers a callback which will be
 * receiving all events sent out by the broker.
 */
public class MqttService extends Service implements SharedPreferences.OnSharedPreferenceChangeListener {

From source file com.physphil.android.unitconverterultimate.MainActivity.java

/**
 * Main activity
 * Created by Phizz on 15-07-28.
 */
public class MainActivity extends BaseActivity implements SharedPreferences.OnSharedPreferenceChangeListener {
    private DrawerLayout mDrawerLayout;

From source file com.yangtsaosoftware.pebblemessenger.activities.SettingFragment.java

/**
 * A simple {@link Fragment} subclass.
 *
 */
public class SettingFragment extends PreferenceFragment
        implements SharedPreferences.OnSharedPreferenceChangeListener {