RichUtils / pyxis.uzuki.live.richutilskt.utils / RPreference / getLong

getLong

@JvmOverloads fun getLong(key: String, def: Long = 0): Long

get Long value from SharedPreference

Parameters

key - key of preference

def - optional, if key is not presented or some unexpected problem happened, it will be return

Return
Long object