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 [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