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;