how can sort and unsorted in list view, when ever i click on list view header i want to sort list of objects after next click i want to unsorted the items, for binding objects to list view i used Adapter, for sorting i used Collection.Sort(list) and
Share
You can use a flag variable and toggle it on each click e.g. true means ascending and false means descending.