1 Reply Latest reply: May 1, 2012 5:10 PM by Shongrunden RSS

    Flex List scroll position with virtual layout and custom itemrenderer


      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.