mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-07 14:33:26 +01:00
Autocompletion: disable animation on the recycler view items
This commit is contained in:
parent
92f43a591a
commit
c31b64771b
@ -32,6 +32,8 @@ class AutocompleteCommandPresenter @Inject constructor(context: Context,
|
||||
}
|
||||
|
||||
override fun instantiateAdapter(): RecyclerView.Adapter<*> {
|
||||
// Also remove animation
|
||||
recyclerView?.itemAnimator = null
|
||||
return controller.adapter
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,8 @@ class AutocompleteRoomPresenter @Inject constructor(context: Context,
|
||||
}
|
||||
|
||||
override fun instantiateAdapter(): RecyclerView.Adapter<*> {
|
||||
// Also remove animation
|
||||
recyclerView?.itemAnimator = null
|
||||
return controller.adapter
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,8 @@ class AutocompleteUserPresenter @Inject constructor(context: Context,
|
||||
}
|
||||
|
||||
override fun instantiateAdapter(): RecyclerView.Adapter<*> {
|
||||
// Also remove animation
|
||||
recyclerView?.itemAnimator = null
|
||||
return controller.adapter
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user