Hi
I have the library selected in the manager and in Sub Globals I have:
Dim sf As StringFunctions
sf.Initialize
But I can't get a couple of functions to compile
e.g.
Dim WeatherTable() As List
WeatherTable = sf.Split("A,B,C,D", ",")
generates the error
B4A line: 252
WeatherTable = sf.Split(\
javac 1.8.0_45
src\b4a\example\main.java:868: error: incompatible types: java.util.List<Object> cannot be converted to anywheresoftware.b4a.objects.collections.List[]
_weathertable = (anywheresoftware.b4a.objects.collections.List[])(_vv3._vvvvvv5("A B C D"," ").getObject());
^
1 error
I have the library selected in the manager and in Sub Globals I have:
Dim sf As StringFunctions
sf.Initialize
But I can't get a couple of functions to compile
e.g.
Dim WeatherTable() As List
WeatherTable = sf.Split("A,B,C,D", ",")
generates the error
B4A line: 252
WeatherTable = sf.Split(\
javac 1.8.0_45
src\b4a\example\main.java:868: error: incompatible types: java.util.List<Object> cannot be converted to anywheresoftware.b4a.objects.collections.List[]
_weathertable = (anywheresoftware.b4a.objects.collections.List[])(_vv3._vvvvvv5("A B C D"," ").getObject());
^
1 error