Commit 6f9c1cff authored by Varun Patil's avatar Varun Patil

fix(notifications): Disable animations for recyclerview

parent 350e0a7f
......@@ -97,6 +97,7 @@ public class NotificationsFragment extends BottomSheetDialogFragment {
notificationsRecyclerView = (RecyclerView) getView().findViewById(R.id.notifications_recycler_view);
notificationsRecyclerView.setAdapter(notificationsAdapter);
notificationsRecyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
notificationsRecyclerView.setItemAnimator(null);
/* Handle swiping of notifications */
ItemTouchHelper.SimpleCallback simpleCallback = new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment