In Xamarin, what using directives do I need to use for the following line of code:
ArrayList<HashMap<string, string>> productList;
I cannot resolve the ArrayList or the HashMap.
Thanks in advance
In Xamarin, what using directives do I need to use for the following line of code:
ArrayList<HashMap<string, string>> productList;
I cannot resolve the ArrayList or the HashMap.
Thanks in advance
These classes are located in java.util namespace, but remember that Java generics do not exist. So, there are no generics versions (seems they existed in the past).
Try to convert ArrayList
to List
and HashMap
to Dictionary
.