gson-support
/
com.chibatching.kotpref.gsonpref
androidJvm
Package com.
chibatching.
kotpref.
gsonpref
Types
Functions
Properties
Types
GsonNullablePref
Link copied to clipboard
androidJvm
class
GsonNullablePref
<
T
:
Any
>(targetType:
Type
, default: () ->
T
?, key:
String
?, commitByDefault:
Boolean
) :
AbstractPref
<
T
?>
Content copied to clipboard
GsonPref
Link copied to clipboard
androidJvm
class
GsonPref
<
T
:
Any
>(targetType:
Type
, default: () ->
T
, key:
String
?, commitByDefault:
Boolean
) :
AbstractPref
<
T
>
Content copied to clipboard
Functions
gsonNullablePref
Link copied to clipboard
androidJvm
inline fun <
T
:
Any
>
KotprefModel
.
gsonNullablePref
(default:
T
? = null, key:
Int
, commitByDefault:
Boolean
= commitAllPropertiesByDefault):
AbstractPref
<
T
?>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
inline fun <
T
:
Any
>
KotprefModel
.
gsonNullablePref
(default:
T
? = null, key:
String
? = null, commitByDefault:
Boolean
= commitAllPropertiesByDefault):
AbstractPref
<
T
?>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
inline fun <
T
:
Any
>
KotprefModel
.
gsonNullablePref
(key:
Int
, commitByDefault:
Boolean
= commitAllPropertiesByDefault, noinline default: () ->
T
?):
AbstractPref
<
T
?>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
inline fun <
T
:
Any
>
KotprefModel
.
gsonNullablePref
(key:
String
? = null, commitByDefault:
Boolean
= commitAllPropertiesByDefault, noinline default: () ->
T
?):
AbstractPref
<
T
?>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
gsonPref
Link copied to clipboard
androidJvm
inline fun <
T
:
Any
>
KotprefModel
.
gsonPref
(default:
T
, key:
Int
, commitByDefault:
Boolean
= commitAllPropertiesByDefault):
AbstractPref
<
T
>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
inline fun <
T
:
Any
>
KotprefModel
.
gsonPref
(default:
T
, key:
String
? = null, commitByDefault:
Boolean
= commitAllPropertiesByDefault):
AbstractPref
<
T
>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
inline fun <
T
:
Any
>
KotprefModel
.
gsonPref
(key:
Int
, commitByDefault:
Boolean
= commitAllPropertiesByDefault, noinline default: () ->
T
):
AbstractPref
<
T
>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
inline fun <
T
:
Any
>
KotprefModel
.
gsonPref
(key:
String
? = null, commitByDefault:
Boolean
= commitAllPropertiesByDefault, noinline default: () ->
T
):
AbstractPref
<
T
>
Content copied to clipboard
Delegate shared preferences property serialized and deserialized by gson
Properties
gson
Link copied to clipboard
androidJvm
var
Kotpref
.
gson
:
Gson
?
Content copied to clipboard
Gson object to serialize and deserialize delegated property