Skip to content

Instantly share code, notes, and snippets.

@satadii11
Created December 3, 2017 14:41
Show Gist options
  • Save satadii11/edadeb41691758297f9a599a91e58d57 to your computer and use it in GitHub Desktop.
Save satadii11/edadeb41691758297f9a599a91e58d57 to your computer and use it in GitHub Desktop.
public class PreferenceManager {
private static final String PREFERENCES_NAMES = "Prefs";
private static final String NAME = "nameKey";
private static final String WALLET = "walletKey";
private SharedPreferences mPref;
public PreferenceManager(Context ctx) {
mPref = ctx.getSharedPreferences(PREFERENCES_NAMES, Context.MODE_PRIVATE);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment