I am using following code but it does not populates the listview.
ArrayList<HashMap<String, String>> menuItems = new ArrayList<HashMap<String, String>>();
lv.setAdapter(new ArrayAdapter<HashMap<String, String>> (this,android.R.layout.simple_list_item_1 , menuItems));
The problem is the above code creates adapter successfully but it does not show in listview.
Thank you