Fixed expand/collapse

pull/145/head
M66B 6 years ago
parent 8e1fe3605e
commit d978b3ad50

@ -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