Browse Source

Explicitly make thread view holders not recyclable

main
M66B 6 years ago
parent
commit
a6c6c1f9e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/AdapterMessage.java

+ 1
- 1
app/src/main/java/eu/faircode/email/AdapterMessage.java View File

@ -208,7 +208,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
grpAttachments = itemView.findViewById(R.id.grpAttachments); grpAttachments = itemView.findViewById(R.id.grpAttachments);
grpExpanded = itemView.findViewById(R.id.grpExpanded); grpExpanded = itemView.findViewById(R.id.grpExpanded);
itemView.setHasTransientState(viewType == ViewType.THREAD);
setIsRecyclable(viewType != ViewType.THREAD);
tvBody.setMovementMethod(new UrlHandler()); tvBody.setMovementMethod(new UrlHandler());
} }


Loading…
Cancel
Save