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

getString

@JvmOverloads fun getString(key: String, def: String = ""): String

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