Search code examples
androidlistviewsections

Enable/Disable SectionIndexer of ListView


Is there any way to disable/enable the sectioning programmatically ?

So I can choose between normal fastScroll and Indexes without making two adapters ?


Solution

  • I found it finaly on my own. You only have to make the Array with the Letters empty and voila you got a normal Fastscroll functionality.