Skip to content

Instantly share code, notes, and snippets.

@layemut
layemut / README.md
Last active February 13, 2021 13:24
Set of methods to save values to and get values from SharedPreferences.

SharedPreferencesUtils

Set of methods to save values to and get values from SharedPreferences.

Set-up

Set context to it before using, for example in Activity's onCreate.

  @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);