SimplePreferenceComparisonCallback
open class SimplePreferenceComparisonCallback : PreferenceManager.PreferenceComparisonCallback(source)
A basic implementation of PreferenceComparisonCallback suitable for use with the default Preference classes. If the PreferenceScreen contains custom Preference subclasses, you must override arePreferenceContentsTheSame.
Functions
Link copied to clipboard
Called to determine if two objects will display the same data The result of this method is only valid for the default Preference objects, and custom subclasses which do not override onBindViewHolder.
Link copied to clipboard
Called to determine if two objects represent the same item This method will not be able to track replaced Preference objects if they do not have a unique key.