tags:

views:

23

answers:

1

I have implemented the SectionIndexer on my Adapter and the FastScroll as well. The fast scroll appears, but the alphabetic indexer is always "A" as I scroll

The list is about 1000 items long.

Here's my implementation of the SectionIndexer.

    @Override
    public int getPositionForSection(int section) {
        return alphaIndexer.getPositionForSection(section);
    }

    @Override
    public int getSectionForPosition(int position) {
        return alphaIndexer.getSectionForPosition(position);
    }

    @Override
    public Object[] getSections() {
        return alphaIndexer.getSections();
    }
A: 

There was a bug in my code, wrong field being used.

BahaiResearch.com