Ok, I just read but unclear (java newbie) about this one:

ArrayList<HashMap<String,String>> list = new
ArrayList<HashMap<String,String>>();

// I have a loop collecting these value from a XML parser
HashMap<String,String> map = new HashMap<String,String>();
map.put("name",Tname);
map.put("age",Tage);
list.add(map);

So let say I have test data, I want to sort the age in the ArrayList
call "list":
mary, 12
john, 11

Any sample to look at?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to