mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-03 13:29:47 +01:00
Disable animation
This commit is contained in:
parent
fce576e3a4
commit
b253722b98
@ -64,6 +64,8 @@ class MessageActionsBottomSheet : VectorBaseBottomSheetDialogFragment(), Message
|
|||||||
actionHandlerModel = ViewModelProviders.of(requireActivity()).get(ActionsHandler::class.java)
|
actionHandlerModel = ViewModelProviders.of(requireActivity()).get(ActionsHandler::class.java)
|
||||||
recyclerView.layoutManager = LinearLayoutManager(requireContext(), RecyclerView.VERTICAL, false)
|
recyclerView.layoutManager = LinearLayoutManager(requireContext(), RecyclerView.VERTICAL, false)
|
||||||
recyclerView.adapter = messageActionsEpoxyController.adapter
|
recyclerView.adapter = messageActionsEpoxyController.adapter
|
||||||
|
// Disable item animation
|
||||||
|
recyclerView.itemAnimator = null
|
||||||
messageActionsEpoxyController.listener = this
|
messageActionsEpoxyController.listener = this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user