This question refer to this discussion:
https://www.b4x.com/android/forum/threads/customlistview-creation-with-code-not-with-designer.117247/
In the linked discussion has been given the solution how to add a CustomView by code:
making a dedicated layout with the CustomView and loading the...