booleanChangeListener

inline fun TwoStatePreference?.booleanChangeListener(crossinline action: (preference: Preference, newValue: Boolean) -> Unit = { _, _ -> })
inline fun DialogPreference?.booleanChangeListener(crossinline action: (preference: Preference, newValue: Boolean) -> Unit = { _, _ -> })