Browse Source

Fixed expand/collapse

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

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

@ -208,7 +208,12 @@ 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);
setIsRecyclable(viewType != ViewType.THREAD);
bnvActions.setHasTransientState(viewType == ViewType.THREAD);
btnImages.setHasTransientState(viewType == ViewType.THREAD);
tvBody.setHasTransientState(viewType == ViewType.THREAD);
pbBody.setHasTransientState(viewType == ViewType.THREAD);
grpAttachments.setHasTransientState(viewType == ViewType.THREAD);
tvBody.setMovementMethod(new UrlHandler()); tvBody.setMovementMethod(new UrlHandler());
} }


Loading…
Cancel
Save