get

abstract fun get(key: String?, sharedPreference: SharedPreferences, defaultValue: T): T

Retrieve the value for key from sharedPreference, or defaultValue if the preference is unset, or was set to null.