Disabled attachment item animations

This commit is contained in:
M66B
2018-09-03 18:22:10 +00:00
parent 4dc86f78b2
commit 0a4c69944a
2 changed files with 2 additions and 0 deletions

View File

@@ -377,6 +377,7 @@ public class FragmentMessage extends FragmentEx {
rvAttachment.setHasFixedSize(false);
LinearLayoutManager llm = new LinearLayoutManager(getContext());
rvAttachment.setLayoutManager(llm);
rvAttachment.setItemAnimator(null);
adapter = new AdapterAttachment(getContext(), getViewLifecycleOwner(), true);
rvAttachment.setAdapter(adapter);