PreferenceComparisonCallback
Callback class to be used by the androidx.recyclerview.widget.RecyclerView.Adapter associated with the PreferenceScreen, used to determine when two Preference objects are semantically and visually the same.
Inheritors
Functions
Link copied to clipboard
abstract fun arePreferenceContentsTheSame(@NonNull p1: Preference, @NonNull p2: Preference): Boolean
Called to determine if two Preference objects will display the same data
Link copied to clipboard
Called to determine if two Preference objects represent the same item