getObjectNonNull
fun <T : Any> getObjectNonNull(key: String?, defaultValue: T, converter: Preference.Converter<T>): Preference<T>
Deprecated
Not used any longer. Use 'getObject()' with 'asOptional()' operator for handle nullable objects.
Replace with
getObject(key, defaultValue, converter)
Content copied to clipboard