Code example for AlphabetIndexer

Methods: getSectionForPosition

0
			return mIndexer.getPositionForSection(section);
		} 
 
		@Override 
		public int getSectionForPosition(int position) {
			return mIndexer.getSectionForPosition(position);
		} 
 
		@Override 
		public Object[] getSections() {
			return mIndexer.getSections();
		} 
           
    } 
 
    /** 
     * {@link CursorAdapter} that renders a {@link SearchQuery}. 
     */ 
    private class SearchAdapter extends CursorAdapter {
        public SearchAdapter(Context context) {
            super(context, null);