rocket / com.stavro_xhardha.rocket / Rocket / readLong

readLong

fun readLong(key: String, defaultLongValue: Long = 0L): Long

Reads an Long from SharedPreferences. If no value is found the method returns 0L by default

Parameters

key - the key provided to find the stored value

Return
Long the value saved to SharedPreferences of type Long