Hello,
I´m new to B4A.
I try to use xCustomListView and fail to add items.
I want to use xCustomListView because of it´s customizability (e.g. possibility to set size of font/text,...)
I´ve checked:
clvList1.AddTextItem("Hello")
the compiler complains about missing params.
That´s ok, because the context-sensitive help says: "AddTextItem (text as object, value as object) as object".
But when I try to add items with
clvList1.AddTextItem("Hello", "a")
the compiler complains about to many params!
I can replace the "a" with "", 1, a, or any other text, number or variable - the compiler still complains about to many params.
The view itself works fine, if I leave it empty, but that makes no sense.
What´s wrong and what do I have missed or misunterstood?
What´s the sense of "value as object"? Is it like a .tag for each item which I can set to store information?
How do I have to define the "value" before using it in .AddTextItem()?

I´m new to B4A.
I try to use xCustomListView and fail to add items.
I want to use xCustomListView because of it´s customizability (e.g. possibility to set size of font/text,...)
I´ve checked:
- The library is loaded (xCustomListView version 1.63)
- the view "clvList1" is drawn in the visual designer
- the member is created ("private clvList1 As CustomListView")
clvList1.AddTextItem("Hello")
the compiler complains about missing params.
That´s ok, because the context-sensitive help says: "AddTextItem (text as object, value as object) as object".
But when I try to add items with
clvList1.AddTextItem("Hello", "a")
the compiler complains about to many params!
I can replace the "a" with "", 1, a, or any other text, number or variable - the compiler still complains about to many params.
The view itself works fine, if I leave it empty, but that makes no sense.
What´s wrong and what do I have missed or misunterstood?
What´s the sense of "value as object"? Is it like a .tag for each item which I can set to store information?
How do I have to define the "value" before using it in .AddTextItem()?