You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
We are populating our content asynchronously and noticed that TextViews don't resize (WRAP_CONTENT) when setting new text values on them.
It seems that measure and layout passes are only very selectively being passed to the child views.
I tried calling layoutChanged, but that seems to cause jittering during scrolling as it does a whole lot more than just re-measure and re-layout.
I fixed my problem by basically manually calling measure and layout on the child view in the callback I set in my adapter.
My expected behaviour would be that when I set new text in a TextView or call requestLayout in a child view that FreeFlowContainer does not skip measuring and laying out the child views.
The text was updated successfully, but these errors were encountered:
sklaman
added a commit
to sklaman/FreeFlow
that referenced
this issue
Oct 15, 2014
We are populating our content asynchronously and noticed that TextViews don't resize (WRAP_CONTENT) when setting new text values on them.
It seems that measure and layout passes are only very selectively being passed to the child views.
I tried calling layoutChanged, but that seems to cause jittering during scrolling as it does a whole lot more than just re-measure and re-layout.
I fixed my problem by basically manually calling measure and layout on the child view in the callback I set in my adapter.
My expected behaviour would be that when I set new text in a TextView or call requestLayout in a child view that FreeFlowContainer does not skip measuring and laying out the child views.
The text was updated successfully, but these errors were encountered: