Code example for AlphabetIndexer

Methods: getPositionForSection

0
			mIndexer = new AlphabetIndexer(cursor, SpeakersQuery.LAST_NAME, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
		} 
 
		@Override 
		public int getPositionForSection(int section) {
			return mIndexer.getPositionForSection(section);
		} 
 
		@Override 
		public int getSectionForPosition(int position) {
			return mIndexer.getSectionForPosition(position);
		} 
 
		@Override 
		public Object[] getSections() {
			return mIndexer.getSections();
		} 
           
    } 
 
    /**