Package-level declarations
Types
Link copied to clipboard
class AndroidPreferences(nativePreferences: SharedPreferences) : SharedPreferences, EditablePreferences<AndroidPreferences.Editor>
A wrapper of SharedPreferences with EditablePreferences implementation.
Functions
Link copied to clipboard
fun Fragment.bindPreferences(preferences: SharedPreferences = PreferenceManager.getDefaultSharedPreferences(activity)): PreferencesSaver
Bind fields annotated with com.hendraanggrian.auto.prefs.BindPreference from source and to target Fragment.
fun Context.bindPreferences(preferences: SharedPreferences = PreferenceManager.getDefaultSharedPreferences(this)): PreferencesSaver
Bind fields annotated with com.hendraanggrian.auto.prefs.BindPreference from source and to target Context.
fun Fragment.bindPreferences(preferences: SharedPreferences = PreferenceManager.getDefaultSharedPreferences(context!!)): PreferencesSaver
Bind fields annotated with com.hendraanggrian.auto.prefs.BindPreference from source and to target androidx.fragment.app.Fragment.
Bind fields annotated with com.hendraanggrian.auto.prefs.BindPreference from source SharedPreferences to target Any.
Link copied to clipboard
Bind fields annotated with com.hendraanggrian.auto.prefs.BindPreference to target Any from SharedPreferences.
Properties
Link copied to clipboard
Logger that prints to Log, matching its supported channels.