Hi,
I have a WML application with a ScrollView and a ListView inside. The items from the ListView has variable height.
I need to know when the scroll bar is moved, in fact when it is at bottom and when it is NOT.
My target is to keep scroll at bottom (positionViewAtEnd()) when I add an item to the ListView ONLY if the scroll is at bottom. If NOT at bottom, positionViewAtEnd() will not be used.
I have tried "playing" with height, contentHeigh & contentY. Sometimes it works (when scroll is at bottom: contentHeight == contentY + height), but other times contentY value changes to negative values, and my code fails...
Any help?
Thanks a lot
Diego
Bookmarks