onDependencyChanged

open fun onDependencyChanged(@NonNull dependency: Preference, disableDependent: Boolean)(source)

Called when the dependency changes.

Parameters

dependency

The preference that this preference depends on

disableDependent

Set true to disable this preference