arePreferenceContentsTheSame
open fun arePreferenceContentsTheSame(@NonNull p1: Preference, @NonNull p2: Preference): Boolean(source)
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. This method also assumes that if a preference object is being replaced by a new instance, the old instance was not modified after being removed from its containing PreferenceGroup.