Thanks Erel!
I started from sample (
https://www.b4x.com/android/forum/threads/b4x-xui-expandable-list-based-on-xcustomlistview.86449/) in order of your suggest and I've referenced XUI Views (Version: 2.13).
I create a B4XSwitch on existent layout and compile.
I obtain this error:
B4A Versione: 9.50
Java Versione: 11
Analisi del Codice. (0.06s)
Building folders structure. (0.05s)
Compilazione del codice. (0.51s)
Compilazione del codice di layouts (0.01s)
Organizzazione Librerie. (0.00s)
(AndroidX SDK)
Generazione file R. (0.00s)
Compilazione del codice debugger. (0.01s)
Compilazione del codice Java prodotto. Error
B4A line: 35
clv1.Add(CreateItem(Rnd(0xFF000000, 0xFFFFFFFF),
src\b4a\example3\main.java:426: error: method _add in class customlistview cannot be applied to given types;
mostCurrent._clv1._add(_createitem(anywheresoftware.b4a.keywords.Common.Rnd((int) (0xff000000),(int) (0xffffffff)),"Item #"+BA.NumberToString(_i),_id),(Object)(_id));
^
required: customlistview,B4XViewWrapper,Object
found: B4XViewWrapper,Object
reason: actual and formal argument lists differ in length
What am I doing wrong?
Matteo