save String

fun saveString(key: String, value: String)

Method to save string to preference

Parameters

key

preference's name

value

preference's value

Sources

Link copied to clipboard