Thanks Klaus,
I can make it work with the built-in CustomListView in B4A (Latest version).
But my understanding is that the internal one is not a B4X view.
If I choose xCustomListView in the Library tab, the app fails even when using the same code as with the internal CustomListView .
If I insert the CustomListView.bas (xCustomListView ver.1.71) in the IDE, the app fails.
But I use this .bas file in another app where I load a layout in code and it works just fine.
I am so confused as to which CustomListView I should be using.
And I don't know which one is the B4X CustomListView that can be used in cross-platform apps.
-j