setLong

fun setLong(key: String, value: Long)

Function to set a Long value to preference

Parameters

key

String key for calling it later

value

Long value to store