Slide badge on swipe to reply.
This commit is contained in:
parent
8b23a409ef
commit
db4a0deccc
3 changed files with 2 additions and 5 deletions
|
@ -184,7 +184,7 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
|||
private AvatarImageView contactPhoto;
|
||||
private AlertView alertView;
|
||||
protected ReactionsConversationView reactionsView;
|
||||
private BadgeImageView badgeImageView;
|
||||
protected BadgeImageView badgeImageView;
|
||||
|
||||
private @NonNull Set<MultiselectPart> batchSelected = new HashSet<>();
|
||||
private @NonNull Outliner outliner = new Outliner();
|
||||
|
|
|
@ -202,8 +202,4 @@ public class ConversationItemSwipeCallback extends ItemTouchHelper.SimpleCallbac
|
|||
interface OnSwipeListener {
|
||||
void onSwipe(ConversationMessage conversationMessage);
|
||||
}
|
||||
|
||||
public interface OnViewHolderTranslated {
|
||||
void onViewHolderTranslated(@NonNull RecyclerView recyclerView, @NonNull RecyclerView.ViewHolder viewHolder);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ final class ConversationSwipeAnimationHelper {
|
|||
updateReactionsTransition(conversationItem.reactionsView, dx, sign);
|
||||
updateReplyIconTransition(conversationItem.reply, dx, progress, sign);
|
||||
updateContactPhotoHolderTransition(conversationItem.contactPhotoHolder, progress, sign);
|
||||
updateContactPhotoHolderTransition(conversationItem.badgeImageView, progress, sign);
|
||||
}
|
||||
|
||||
public static void trigger(@NonNull ConversationItem conversationItem) {
|
||||
|
|
Loading…
Add table
Reference in a new issue