Hi Treking, I have many sets of hashmap which each set is a group of related data, I then store it into ArrayList for display into a ListView. Something like that.
On Feb 2, 11:11 am, TreKing <[email protected]> wrote: > On Tue, Feb 1, 2011 at 8:15 PM, Mystique <[email protected]> wrote: > > So let say I have test data, I want to sort the age in the ArrayList > > call "list": > > mary, 12 > > john, 11 > > Your ArrayList is redundant unless you really need a list of maps, which I > don't think you do. > > > Any sample to look at? > > http://developer.android.com/reference/java/util/Comparator.html > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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

