i implemented a listview that implements SectionIndexer ... all still.
Typically, items are sorted by name, but I also offer the ability to sort the list differently - by distance (from user to objects).
So, when the list is sorted by the second path, I want to hide the previously createdIndex section.
I just can't do it.
I tried, rewrote most of the methods, I tried it with separation in the constructor (it’s clear why it doesn’t work, it doesn’t get called the second time) I even tried it with the implementation of the second listadapter, and just used another? Even so, SEctionIndex is shown! I really don't get it.
So it would be great if someone knows what is happening :)
Thanks a lot mike
source share