I am trying to use:
However I am getting
java:721: error: cannot find symbol
Map m = new Map();
^
What is the include that I need?
Already doing this:
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.*;
B4X:
private static Map convertToMap(HashMap<?, ?> javaMap) {
Map m = new Map();
m.Initialize();
for (Entry<?, ?> e : javaMap.entrySet()) {
m.Put(e.getKey(), e.getValue());
}
return m;
}
However I am getting
java:721: error: cannot find symbol
Map m = new Map();
^
What is the include that I need?
Already doing this:
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.*;