2020-03-01 04: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.
2020-03-01 05:12 AM
Hi,
no need to patch it, something like this should work:
scrollList.setNumberOfItems(20);
scrollList.setWindowSize(10);
Greetings,
Peter
2020-03-01 05:12 AM
Hi,
no need to patch it, something like this should work:
scrollList.setNumberOfItems(20);
scrollList.setWindowSize(10);
Greetings,
Peter
2020-03-01 05:09 PM
Yes, it works perfectly.