I have a TreeMap which has a string key and the value part is a List with atleast four values.

Map mMap = new TreeMap(); I am using the tree map so that my keys are sorted. However after the sort I want to map this TreeMap to a listview. I want to convert the Map to a list and then build an Adapter for listview. However I am not able to convert it when I do

ArrayList trendyList = new ArrayList(mMap); It says: The constructor ArrayList(Map) is undefined
Is there any other way I can do this?


Check Solution