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

getDouble

@JvmOverloads fun getDouble(key: String, def: Double = 0.toDouble()): Double

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