How to update flex layout after first assign ? #135
Comments
|
holderView.aspectRatio(nil).markDirty() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
|
holderView.aspectRatio(nil).markDirty() |
Hello,
I made some layout like this
And after some time I want to update layout and for example remove something
But in this case removed view
(bookmark, titleLabel)did not disappear from layout but they continue to layout in flex at the top of holderView.Is this a bug/feature or I do something wrong ?
The only solution I found is
More interesting happened if I call initial layout several times. In this case UIView created by
flex.addItem().duplicate again and again. Old instances become empty but continue to layout in flex.The text was updated successfully, but these errors were encountered: