private Set < String > getPersistedSet ( @ Nullable final Set < String > defaultValue ) { if ( ! shouldPersist ( ) ) { return defaultValue ; } return getPreferenceManager ( ) . getSharedPreferences ( ) . getStringSet ( getKey ( ) , defaultValue ) ; }
Loads and returns the currently persisted set which belongs to the preference s key from the shared preferences .