Add a comment about the workaround
This commit is contained in:
parent
bf447afa5a
commit
f5291f4730
|
@ -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 New Issue