scsjc Well-Known Member Licensed User Longtime User Apr 2, 2020 #1 I am trying to make an infinite horizontal loop. what would be the best way? my idea is... with a only 5 add items (1,2,3,4,5) when you scroll through the customlist be: .....1234543212345432123454321... and never stop on "end right side" or "start left side" thanks
I am trying to make an infinite horizontal loop. what would be the best way? my idea is... with a only 5 add items (1,2,3,4,5) when you scroll through the customlist be: .....1234543212345432123454321... and never stop on "end right side" or "start left side" thanks
Erel B4X founder Staff member Licensed User Longtime User Apr 3, 2020 #2 Don't work hard, work smart. Add 10,000 items with PreoptimizedCLV and jump to the middle. See the attached project. Attachments PreoptimizedEndless.zip PreoptimizedEndless.zip 12.8 KB · Views: 782 Upvote 0
Don't work hard, work smart. Add 10,000 items with PreoptimizedCLV and jump to the middle. See the attached project.
scsjc Well-Known Member Licensed User Longtime User Apr 3, 2020 #3 Erel said: Don't work hard, work smart. Add 10,000 items with PreoptimizedCLV and jump to the middle. See the attached project. Click to expand... very good idea of course why get complicated having such logical solutions. thanks erel Upvote 0
Erel said: Don't work hard, work smart. Add 10,000 items with PreoptimizedCLV and jump to the middle. See the attached project. Click to expand... very good idea of course why get complicated having such logical solutions. thanks erel
M Mahares Expert Licensed User Longtime User Apr 4, 2020 #4 Erel said: Add 10,000 items with PreoptimizedCLV and jump to the middle. Click to expand... Based on the size of the actual customlistview, is there a way to determine how many items you create (in this case 10000) to ensure endless loop without sacrificing memory by using a very large number like 10000. For instance, if I have 100 actual size, what is a best guess scenario for the endless size. Upvote 0
Erel said: Add 10,000 items with PreoptimizedCLV and jump to the middle. Click to expand... Based on the size of the actual customlistview, is there a way to determine how many items you create (in this case 10000) to ensure endless loop without sacrificing memory by using a very large number like 10000. For instance, if I have 100 actual size, what is a best guess scenario for the endless size.
Erel B4X founder Staff member Licensed User Longtime User Apr 5, 2020 #5 You don't sacrifice memory when using PreoptimizedCLV. Upvote 0