-
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP) public class DefaultSnapshotDiffCallback<T> extends DiffUtil.ItemCallback<DataSnapshot>
Default diff callback implementation for Firebase Data snapshots.
-
-
Constructor Summary
Constructors Constructor Description DefaultSnapshotDiffCallback(SnapshotParser<T> parser)
-
Method Summary
Modifier and Type Method Description booleanareItemsTheSame(@NonNull() DataSnapshot oldItem, @NonNull() DataSnapshot newItem)booleanareContentsTheSame(@NonNull() DataSnapshot oldItem, @NonNull() DataSnapshot newItem)-
-
Constructor Detail
-
DefaultSnapshotDiffCallback
DefaultSnapshotDiffCallback(SnapshotParser<T> parser)
-
-
Method Detail
-
areItemsTheSame
boolean areItemsTheSame(@NonNull() DataSnapshot oldItem, @NonNull() DataSnapshot newItem)
-
areContentsTheSame
boolean areContentsTheSame(@NonNull() DataSnapshot oldItem, @NonNull() DataSnapshot newItem)
-
-
-
-