vhd_bgh
Member
How can i load "CustomListView" into a "Dialog"?
its possible?
for example this ListView:
i used "Dialogs library 2017" and "XUI Views".
but gives error!
its possible?
for example this ListView:
i used "Dialogs library 2017" and "XUI Views".
but gives error!
B4X:
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 354)
java.lang.NullPointerException: Attempt to invoke virtual method 'int anywheresoftware.b4a.objects.B4XViewWrapper.getWidth()' on a null object reference
at b4a.example.main._activity_create(main.java:354)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at b4a.example.main.afterFirstLayout(main.java:104)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5307)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)