save Object

fun saveObject(key: String, value: Any)

Method to save object to preference

Parameters

key

preference's name

value

preference's value

Sources

Link copied to clipboard