setInt

fun setInt(key: String, value: Int)

Function to set a Int value to preference

Parameters

key

String key for calling it later

value

Int value to store