mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Add a comment about the workaround
This commit is contained in:
parent
bf447afa5a
commit
f5291f4730
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ class CreatePollFragment @Inject constructor(
|
|||
vectorBaseActivity.setSupportActionBar(views.createPollToolbar)
|
||||
|
||||
views.createPollRecyclerView.configureWith(controller, disableItemAnimation = true)
|
||||
// workaround for https://github.com/vector-im/element-android/issues/4735
|
||||
views.createPollRecyclerView.setItemViewCacheSize(MAX_OPTIONS_COUNT + 4)
|
||||
controller.callback = this
|
||||
|
||||
|
|
Loading…
Reference in a new issue