you need to create a anywheresoftware.b4a.objects.collections.List and give this list back to the app in the return statement.
The list you defined is a java.util.List but B4A is expecting anywheresoftware.b4a.objects.collections.List
you need to create a anywheresoftware.b4a.objects.collections.List and give this list back to the app in the return statement.
The list you defined is a java.util.List but B4A is expecting anywheresoftware.b4a.objects.collections.List
I am returning anywheresoftware.b4a.objects.collections.List .
It is the same way I use in libraries .
B4X:
anywheresoftware.b4a.objects.collections.List l1 = new anywheresoftware.b4a.objects.collections.List();
List listy = new ArrayList<Object>();
listy=Arrays.asList(acc);
l1.setObject(listy);
return l1;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.