fun readSet(key: String, defaultSetValue: MutableSet<String> = mutableSetOf()): MutableSet<String>
Reads an Long from SharedPreferences. If no value is found the method returns 0L by default
key
- the key provided to find the stored value
java.lang.ClassCastException
-
Return
MutableSet
the value saved to SharedPreferences of type MutableSet