StringSetAdapter

Store and retrieves instances of a collection of String within a Set in SharedPreferences

Functions

Link copied to clipboard
open override fun get(key: String?, sharedPreference: SharedPreferences, defaultValue: Set<String?>?): Set<String?>?

Retrieve the value for key from sharedPreference, or defaultValue if the preference is unset, or was set to null.

Link copied to clipboard
open override fun set(key: String?, value: Set<String?>?, editor: SharedPreferences.Editor)

Store value for key in editor.