HI
I am using this example of building a list successfully.
https://www.b4x.com/android/forum/t...listview-cross-platform-customlistview.84501/.
When I want to add a dialog from this example to the project, I get an error.
https://www.b4x.com/android/forum/threads/b4x-input-dialogs-with-xui-views.101197/
I am using this example of building a list successfully.
https://www.b4x.com/android/forum/t...listview-cross-platform-customlistview.84501/.
When I want to add a dialog from this example to the project, I get an error.
https://www.b4x.com/android/forum/threads/b4x-input-dialogs-with-xui-views.101197/
B4X:
** Activity (main) Pause, UserClosed = false **
** Activity (przekazniki) Create, isFirst = true **
Class not found: domo.ster.customlistview, trying: domo.ster2.customlistview
Error occurred on line: 47 (przekazniki)
java.lang.RuntimeException: java.lang.RuntimeException: Field clv was declared with the wrong type.
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at domo.ster2.przekazniki._activity_create(przekazniki.java:475)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at domo.ster2.przekazniki.afterFirstLayout(przekazniki.java:104)
at domo.ster2.przekazniki.access$000(przekazniki.java:17)
at domo.ster2.przekazniki$WaitForLayout.run(przekazniki.java:82)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
Caused by: java.lang.RuntimeException: Field clv was declared with the wrong type.
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:431)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:454)