This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Android] RecycleElement List: using bindings for FormattedText results in "requestLayout() improperly called" issues #3335
Labels
a/layout
e/5 🕔
5
help wanted
We welcome community contributions to any issue, but these might be a good place to start!
inactive
Issue is older than 6 months and needs to be retested
p/Android
t/bug 🐛
up-for-grabs
We welcome community contributions to any issue, but these might be a good place to start!
Description
I have a list with
CachingStrategy
set toRecycleElement
. When using bindings for a label'sFormattedText
the console is filled with messages likerequestLayout() improperly called by {...}.FormsTextView{...} during layout: running second layout pass
Steps to Reproduce
CachingStrategy
set toRecycleElement
FormattedText
linked to a bindable property in the view modelExpected Behavior
The list should scroll smoothly with no errors
Actual Behavior
Application Output is filled with messages like the one above. The scroll's behavior doesn't seem to be impacted when the debugger is not connected. These messages are not displayed when binding to a CLR property which creates a
new FormattedString()
instance on eachget
or when usingRetainElement
as aCachingStrategy
.Basic Information
Reproduction Link
FormattedTextRepro.zip
The text was updated successfully, but these errors were encountered: