Can we set an ArrayList containing HashMap into an ArrayAdapter?
i am using
ArrayAdapter<ArrayList<HashMap<String, String>>> ad=
new ArrayAdapter<ArrayList<HashMap<String,String>>>(this, android.R.layout.simple_list_item_1,items);
but this gives me an error saying
The constructor ArrayAdapter<ArrayList<HashMap<String,String>>>(searchname, int, ArrayList<HashMap<String,String>>) is undefined.
SimpleAdapterinstead