In building a mobile app, I have a large list control. The list uses a custom ItemRenderer to display section headers (of a different size) inline.
I'm trying to save and restore the list position as the user moves from one view to another, and it almost works. In fact it does work if I disable useVirtualLayout on the list. But with virtual layout enabled, the list always ends up either to far down or not far enough (depending on the exact method used).
I guess my real question is: why doensn't pulling the value out of list.dataGroup.verticalScrollPosition, saving it, and later putting it back work? I know the content of the list isn't changing.
This blog post might be useful: http://flexponential.com/2010/12/05/saving-scroll-position-between-vie ws-in-a-mobile-flex-application/