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

getFloat

@JvmOverloads fun getFloat(key: String, def: Float = 0f): Float

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