From b253722b9882ade5fda3614242a9438fc5909e34 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 21 Oct 2019 16:54:00 +0200 Subject: [PATCH] Disable animation --- .../room/detail/timeline/action/MessageActionsBottomSheet.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsBottomSheet.kt b/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsBottomSheet.kt index 3f46b991de..8aaa7643c2 100644 --- a/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsBottomSheet.kt +++ b/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/MessageActionsBottomSheet.kt @@ -64,6 +64,8 @@ class MessageActionsBottomSheet : VectorBaseBottomSheetDialogFragment(), Message actionHandlerModel = ViewModelProviders.of(requireActivity()).get(ActionsHandler::class.java) recyclerView.layoutManager = LinearLayoutManager(requireContext(), RecyclerView.VERTICAL, false) recyclerView.adapter = messageActionsEpoxyController.adapter + // Disable item animation + recyclerView.itemAnimator = null messageActionsEpoxyController.listener = this }