save Int

fun saveInt(key: String, value: Int)

Method to save int to preference

Parameters

key

preference's name

value

preference's value

Sources

Link copied to clipboard