- Jun 6, 2020
- 11,559
- 4,422
xCLV now supports adding huge numbers of items smoothly using Preoptimized class , you should use it instead :
[H3]
This is a cross platform class that extends xCustomListView and makes it "lazier". Lazy loading is explained here:
I'd like to share my first B4A library,
Using xListview you can add tens of thousands of items instantly with an extremely low memory footprint.
How it works
instead of creating an empty panel for each item to load the layout inside it when needed, which takes time to create the panels and consumes more memory if used for a large number of items
xListview on the other hand uses only 1 panel for each visible item and automatically destroys it when it goes offscreen.
So if we have a list that contains 100,000 items it will actually have around 15 panels only.
Requirements
Reflection library
test on a very old android device
Usage
B4X:
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]This is a cross platform class that extends xCustomListView and makes it "lazier". Lazy loading is explained here:
برای دیدن لینک ها باید ثبت نام کنید
and here...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
I'd like to share my first B4A library,
Using xListview you can add tens of thousands of items instantly with an extremely low memory footprint.
How it works
instead of creating an empty panel for each item to load the layout inside it when needed, which takes time to create the panels and consumes more memory if used for a large number of items
xListview on the other hand uses only 1 panel for each visible item and automatically destroys it when it goes offscreen.
So if we have a list that contains 100,000 items it will actually have around 15 panels only.
Requirements
Reflection library
test on a very old android device
Usage
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید