ScrollList scroll over bottom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 4:41 AM
For example, I have a ScrollList with visible rows of 10, and have 20 rows(number 1 to number 20) content inside it, not circular. When scroll up, it will show row numer 20 at top and 9 empty row space.
What I expect should be, it shows row 11 to row 20 in visible space, and can NOT scroll up further.
The widget is open sourced, but looks compliated. How to patch it?
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 5:12 AM
Hi,
no need to patch it, something like this should work:
scrollList.setNumberOfItems(20);
scrollList.setWindowSize(10);
Greetings,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 5:12 AM
Hi,
no need to patch it, something like this should work:
scrollList.setNumberOfItems(20);
scrollList.setWindowSize(10);
Greetings,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 5:09 PM
Yes, it works perfectly.
