Do you know the answer to this offhand? (i.e. before I start investing time trying to get it to work)
Question Does the new scrollView (newScrollView) support what would be required to handle orientation changes within a storyboard/composer environment?
That is it would need to be able to handle calls to it to:
- reset its size/width (not scrollable content size, which does seem to be supported)
- reset its position
- then one would manually dispatch an event to UI components within the scroll view to re-lay these out as required.
Issue: I did try initially and had problems then assumed it must not support this, so then went down the path of deleting and re-creating the whole scroll view area for the view each time you went in/out of the view, and on orientation change. The issue is however it breaks to the storyboard/composer concept so you both lose the state of where you were in terms of scrolling, plus it adds additional time (response time) which is noticeable for the user.
If it doesn’t support this, perhaps it’s better to go back and create one’s own scrollview? Wasn’t there an open source version of the v1 widgets? Is there an open source version for v2? Are there some negatives you can see to trying to go it alone here vs staying with the corona v2 widget?