开发者

Sort expandable listview

开发者 https://www.devze.com 2023-03-14 03:12 出处:网络
I want to sort an expendable listview dynamically. Could someone tell me how to accomplish this? I\'ve trie开发者_如何学编程d sorting the group name but then the child elements don\'t get sorted. I

I want to sort an expendable listview dynamically. Could someone tell me how to accomplish this?

I've trie开发者_如何学编程d sorting the group name but then the child elements don't get sorted.


I think we would need more details about the code, without the code it's hard to tell but anyway here is a link to some code maybe it will help you: https://github.com/commonsguy/cwac-touchlist


Basically what I did was sort it using custom comparator methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消