i hop tis wil help you http://www.ezzylearning.com/tutorial.aspx?tid=6816874 http://www.josecgomez.com/2010/05/03/android-putting-custom-objects-in-listview/
On Friday, 10 August 2012 00:18:41 UTC+5:30, Wolfgang wrote: > > Hey guys, > > I'm using a ListView that displays a list of ChartInfo. ChartInfo is a > class I wrote that contains two strings: name, type; and a boolean: > notification. The ListView is sorting the charts based on name. I would > prefer that it sorts first based on the boolean, notification, and then > sorts by the string, name. Can someone point me to a good resource to > accomplish this or give me some guidance. Here is an example of what I > would like to accomplish: > > <https://lh3.googleusercontent.com/-fV_JkTnTw_Q/UCQFm2NfFlI/AAAAAAAAAAM/rpH5Nv05NLA/s1600/exampleSorting.png> > > > <https://lh3.googleusercontent.com/-fV_JkTnTw_Q/UCQFm2NfFlI/AAAAAAAAAAM/rpH5Nv05NLA/s1600/exampleSorting.png> > Thanks, > -W > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en