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

getInt

@JvmOverloads fun getInt(key: String, def: Int = 0): Int

get Int 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
Int object