1. Use File - Export as zip.
2. This is a very very short list. Long list = 30,000+ items.
You are expected to add a panel to item.Panel.AddView
This is a cross platform class that extends xCustomListView and makes it "lazier". Lazy loading is explained here: https://www.b4x.com/android/forum/threads/b4x-xui-customlistview-lazy-loading-virtualization.87930/#content and here...
Thank you
@Erel , adding the Panel worked.
Now I have upgraded it to use a dummy custom view, which is closer to what I have built for my work.
The one I built for my work crashes immediately upon loading, when the list is only 9 items long. This one crashes when you scroll down too quickly.
The crash output is as follows:
FirstIndex = 7, LastIndex = 17
20 of 65
main$ResumableSub_list_VisibleRangeChangedresume (java line: 433)
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.get(ArrayList.java:437)
at anywheresoftware.b4a.objects.collections.List.Get(List.java:117)
at b4a.example.testpclv.main$ResumableSub_list_VisibleRangeChanged.resume(main.java:433)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:267)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:207)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.keywords.Common$14.run(Common.java:1760)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7830)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)
Looks like the size of the list became 1 as I was scrolling.
I suspect it could be something to do with threading as I have used "Sleep(0)" commands in the custom view.