I need to add new items in my ListView and scroll it automatically. I created an application and it worked well for SDK Beta 1, but it doesn't work properly for Beta 2. For example, I have 20 items in ListView and the first 5 of them are visible on the screen. If I call from my C++ method something like:
listView->scrollTo(ScrollPosition::End)
I can see only the last item on the top of ListView. I can scroll it down manually and it will work well, but I can't do the same from code.
The API documentation is not explicit, but does imply the behaviour you are seeing. You may want to use an alternate method: scrollToItem()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With