save Boolean

fun saveBoolean(key: String, value: Boolean)

Method to save boolean to preference

Parameters

key

preference's name

value

preference's value

Sources

Link copied to clipboard