Hi
If I understand correctly, you want to put data in a listview.
Listview is not a good solution. Use xCustomListView
Update: As several other libraries depend on xCustomListView library, it is no longer recommended to use the code module. Use the library instead. There are several extension classes that add more features to xCLV. They are listed at the end of this post. Video tutorial: xCustomListView is...
www.b4x.com
A little more detail would help for better help.
just understand that it is not possible to add a custom listview to AH Page Container gives an error I do not know why
container.AddPage(CustomListView1.AsView,"Все")
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
#SupportedOrientations attribute must be set to landscape or portrait.
*** mainpage: B4XPage_Created
Panel size is unknown. Layout may not be loaded correctly.
Panel size is unknown. Layout may not be loaded correctly.
b4xmainpage_b4xpage_created (java line: 302)
java.lang.RuntimeException: Object should first be initialized (B4XView).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
at b4a.example.b4xmainpage._b4xpage_created(b4xmainpage.java:302)
at b4a.example.b4xmainpage.callSub(b4xmainpage.java:922)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1068)
at anywheresoftware.b4a.keywords.Common.CallSubNew2(Common.java:1039)
at b4a.example.b4xpagesmanager._createpageifneeded(b4xpagesmanager.java:548)
at b4a.example.b4xpagesmanager._showpage(b4xpagesmanager.java:885)
at b4a.example.b4xpagesmanager._addpage(b4xpagesmanager.java:219)
at b4a.example.b4xpagesmanager._addpageandcreate(b4xpagesmanager.java:226)
at b4a.example.b4xpagesmanager._initialize(b4xpagesmanager.java:736)
at b4a.example.main._activity_create(main.java:422)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.example.main.afterFirstLayout(main.java:105)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:8057)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)