mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Keep popup menu on update
This commit is contained in:
@@ -467,16 +467,11 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
||||
holder.unwire();
|
||||
|
||||
TupleIdentityEx identity = items.get(position);
|
||||
holder.bindTo(identity);
|
||||
holder.powner.recreate(identity == null ? null : identity.id);
|
||||
|
||||
holder.unwire();
|
||||
holder.bindTo(identity);
|
||||
holder.wire();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewDetachedFromWindow(@NonNull ViewHolder holder) {
|
||||
holder.powner.recreate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user