I'm trying to use the XUtils B4XPlusMinus but am having a problem with initialization. I can get it to work when it's created with the designer, but when I try to create it in a tableview I keep getting the error:
I think I'm doing the initialization just as I do the other objects I'm loading up, but I still get the error.
Can anyone point me in the right direction?
I've created a dummy project that shows what I'm doing.
Thanks,
Jim
B4X:
Waiting for debugger to connect...
Program started.
Error occurred on line: 143 (B4XPlusMinus)
java.lang.RuntimeException: Object should first be initialized (B4XView).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:32)
at anywheresoftware.b4a.objects.B4XViewWrapper.getNodeObject(B4XViewWrapper.java:103)
at anywheresoftware.b4a.objects.B4XViewWrapper.setText(B4XViewWrapper.java:292)
at b4j.example.b4xplusminus._setindex(b4xplusminus.java:326)
at b4j.example.b4xplusminus._setstringitems(b4xplusminus.java:101)
at b4j.example.main._loadtableview3(main.java:330)
I think I'm doing the initialization just as I do the other objects I'm loading up, but I still get the error.
Can anyone point me in the right direction?
I've created a dummy project that shows what I'm doing.
Thanks,
Jim