Code example for SectionIndexer

Methods: getSections

0
        public int getSectionForPosition(int position) {
            return mAlphaIndexer.getSectionForPosition(position);
        } 
 
        public Object[] getSections() {
            return mAlphaIndexer.getSections();
        } 
         
        // @Override 
        // TODO, this is for filtered searches 
        // public Cursor runQueryOnBackgroundThread(CharSequence constraint) {} 
    } 
 
}