Code example for AlphabetIndexer

Methods: getSections

0
			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);
        } 
 
        /** {@inheritDoc} */ 
        @Override 
        public View newView(Context context, Cursor cursor, ViewGroup parent) {