rocket / com.stavro_xhardha.rocket / Rocket / readSet

readSet

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

Parameters

key - the key provided to find the stored value

Exceptions

java.lang.ClassCastException -

Return
MutableSet the value saved to SharedPreferences of type MutableSet