How to sort Android ListView by Column wise?
问题 I've a list view in that it contain a header (like addHeaderView(layout) and Header having three columns) and when i click on first column of header then the list is to be sorted according to the values lied into the first column, then if i click second column of header then list is being sorted according to second column and so on. But now its working like whenever i click any column the list is being sorted based on first column so how can i achieve my problem? Thanks, @nag. 回答1: Put header