mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 11:54:10 +01:00
Fixed expand/collapse
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user