require Preference
fun <T : Preference?> PreferencesFragment.requirePreference(key: String): T
Content copied to clipboard
inline fun <T : Preference?> PreferencesFragment.requirePreference(key: String, action: T.() -> Unit)
Content copied to clipboard