Improve messaging and UX around safety number changes.

This commit is contained in:
Cody Henthorne
2020-06-26 11:10:54 -04:00
committed by GitHub
parent 819f0f68f6
commit bbe003a454
22 changed files with 713 additions and 83 deletions

View File

@@ -0,0 +1,16 @@
package org.thoughtcrime.securesms.util.adapter;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.DiffUtil;
public final class AlwaysChangedDiffUtil<T> extends DiffUtil.ItemCallback<T> {
@Override
public boolean areItemsTheSame(@NonNull T oldItem, @NonNull T newItem) {
return false;
}
@Override
public boolean areContentsTheSame(@NonNull T oldItem, @NonNull T newItem) {
return false;
}
}