mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 09:18:49 +00:00
Don't prefetch views for the conversation list.
This commit is contained in:
parent
2915e4698c
commit
b621efa4a5
@ -216,8 +216,6 @@ public class ConversationListFragment extends MainFragment implements ActionMode
|
|||||||
list.setItemAnimator(new DeleteItemAnimator());
|
list.setItemAnimator(new DeleteItemAnimator());
|
||||||
list.addOnScrollListener(new ScrollListener());
|
list.addOnScrollListener(new ScrollListener());
|
||||||
|
|
||||||
CachedInflater.from(requireContext()).cacheUntilLimit(R.layout.conversation_list_item_view, list, 20);
|
|
||||||
|
|
||||||
snapToTopDataObserver = new SnapToTopDataObserver(list, null);
|
snapToTopDataObserver = new SnapToTopDataObserver(list, null);
|
||||||
|
|
||||||
new ItemTouchHelper(new ArchiveListenerCallback()).attachToRecyclerView(list);
|
new ItemTouchHelper(new ArchiveListenerCallback()).attachToRecyclerView(list);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user