Huy Nguyen dcf858eac1 [ASDisplayNode] Trigger a layout pass whenever a node enters preload state (#3263)
* Add a thread-safe layoutIfNeeded implementation to ASDisplayNode

* Trigger a layout pass when a display node enters preload state
- This ensures that all the subnodes have the correct size to preload their content.

* ASCollectionNode to trigger its initial data load when it enters preload state

* Minor change in _ASCollectionViewCell

* Layout sublayouts before dispatch to main for subclass hooks

* Update comments

* Don't wait until updates are committed when the collection node enters display state

* Same deal for table node

* Explain the layout trigger in ASDisplayNode
2017-04-13 16:25:17 -07:00
..
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00
2017-02-26 18:14:13 -08:00