Open Harteex opened 9 years ago
The contentSize must probably be known, since it would be used for scrollbars as well. So we might have to recalculate the layout one view higher up in the hierarchy.
Another option would be to remove contentSize from View. It's not really needed as long as OnLayoutChange returns contentSize.
Then move it to CollectionView instead, in support for scroll handling.
If the parent of a view which is recalculating its layout has a fixed size (specified or match parent), it will not be updated. The problem with this is that the contentsize of that view isn't updated.
This can be solved by either:
This bug can be triggered by loading contentsizebug.xml