Rx3Shared Preferences
Preference factory class to provide Rx3Preference objects
Functions
Link copied to clipboard
Creates a Boolean preference for the key with a default of defaultValue
Link copied to clipboard
Link copied to clipboard
Creates a Float preference for the key with a default of defaultValue
Link copied to clipboard
Creates a Int preference for the key with a default of defaultValue
Link copied to clipboard
Creates a Long preference for the key with a default of defaultValue
Link copied to clipboard
open override fun <T : Any> getObjectNonNull(key: String?, defaultValue: T, converter: Preference.Converter<T>): Rx3Preference<T>
Creates a T preference for the key using the converter, and with a default of defaultValue
Link copied to clipboard
Creates a String preference for the key with a default of defaultValue
Link copied to clipboard
open override fun getStringSet(key: String?, defaultValue: Set<String?>?): Rx3Preference<Set<String?>>
Creates a string Set preference for the key with a default of defaultValue