Code example for AlphabetIndexer

Methods: getPositionForSection

0
		return R.layout.item_station; 
	} 
	 
	@Override 
	public int getPositionForSection(int section) {
		return mAlphabetIndexer.getPositionForSection(section);
	} 
	 
	@Override 
	public int getSectionForPosition(int position) {
		return mAlphabetIndexer.getSectionForPosition(position);
	} 
	 
	@Override 
	public Object[] getSections() {
		return mAlphabetIndexer.getSections();
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java