List of usage examples for android.content SharedPreferences.OnSharedPreferenceChangeListener interface-usage
From source file com.adkdevelopment.earthquakesurvival.ui.MapviewFragment.java
/** * Fragment with a map which monitors location changes and updates the view */ public class MapviewFragment extends Fragment implements OnMapReadyCallback, LoaderManager.LoaderCallbacks<Cursor>, SharedPreferences.OnSharedPreferenceChangeListener { /**
From source file com.shurik.droidzebra.DroidZebra.java
public class DroidZebra extends FragmentActivity implements SharedPreferences.OnSharedPreferenceChangeListener { public static final String SHARED_PREFS_NAME = "droidzebrasettings"; final public static int boardSize = 8; private static final int MENU_NEW_GAME = 1, MENU_QUIT = 2, MENU_TAKE_BACK = 3, MENU_SETTINGS = 4,
From source file com.shurik.droidzebra.ZebraActivity.java
public class ZebraActivity extends FragmentActivity implements SharedPreferences.OnSharedPreferenceChangeListener { private static final int FUNCTION_HUMAN_VS_HUMAN = 0, FUNCTION_ZEBRA_WHITE = 1, FUNCTION_ZEBRA_BLACK = 2, FUNCTION_ZEBRA_VS_ZEBRA = 3; private static final int RANDOMNESS_NONE = 0, RANDOMNESS_SMALL = 1, RANDOMNESS_MEDIUM = 2, RANDOMNESS_LARGE = 3, RANDOMNESS_HUGE = 4;
From source file com.dngames.mobilewebcam.PhotoSettings.java
public class PhotoSettings implements SharedPreferences.OnSharedPreferenceChangeListener { private Context mContext = null; private SharedPreferences mPrefs = null; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD)
From source file git.egatuts.nxtremotecontroller.fragment.SettingsFragment.java
public class SettingsFragment extends PreferenceFragment implements SharedPreferences.OnSharedPreferenceChangeListener { /* * When the preferences has changed and the preference key * equals the preference theme we kill the previous activity (MainActivity)
From source file com.miz.mizuu.fragments.TvShowLibraryFragment.java
public class TvShowLibraryFragment extends Fragment implements SharedPreferences.OnSharedPreferenceChangeListener { private Context mContext; private SharedPreferences mSharedPreferences; private int mImageThumbSize, mImageThumbSpacing; private LoaderAdapter mAdapter;
From source file com.miz.mizuu.fragments.MovieLibraryFragment.java
public class MovieLibraryFragment extends Fragment implements SharedPreferences.OnSharedPreferenceChangeListener { private Context mContext; private SharedPreferences mSharedPreferences; private int mImageThumbSize, mImageThumbSpacing; private LoaderAdapter mAdapter;
From source file eu.faircode.adblocker.ActivityMain.java
public class ActivityMain extends AppCompatActivity implements SharedPreferences.OnSharedPreferenceChangeListener { private static final String TAG = "NetGuard.Main"; private boolean running = false; private ImageView ivIcon; private ImageView ivQueue;
From source file github.popeen.dsub.fragments.SettingsFragment.java
public class SettingsFragment extends PreferenceCompatFragment implements SharedPreferences.OnSharedPreferenceChangeListener { private final static String TAG = SettingsFragment.class.getSimpleName(); private final Map<String, ServerSettings> serverSettings = new LinkedHashMap<String, ServerSettings>(); private boolean testingConnection;
From source file de.qspool.clementineremote.ui.fragments.LibraryFragment.java
public class LibraryFragment extends Fragment implements BackPressHandleable, RemoteDataReceiver, SwipeRefreshLayout.OnRefreshListener, SharedPreferences.OnSharedPreferenceChangeListener { private ActionBar mActionBar; private SwipeRefreshLayout mSwipeRefreshLayout;