Disable animation

This commit is contained in:
Benoit Marty 2019-10-21 16:54:00 +02:00
parent fce576e3a4
commit b253722b98

View file

@ -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
}