mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Cancel avatar task on detach view
This commit is contained in:
@@ -7706,6 +7706,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
@Override
|
||||
public void onViewDetachedFromWindow(@NonNull ViewHolder holder) {
|
||||
holder.cowner.stop();
|
||||
if (holder.taskContactInfo != null) {
|
||||
holder.taskContactInfo.cancel(context);
|
||||
holder.taskContactInfo = null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user