Code example for CursorAdapter

Methods: changeCursor

0
		mIndexer = new AlphabetIndexer(null, InterestsQuery.NAME, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
	} 
 
	@Override 
	public void changeCursor(Cursor cursor) {
		super.changeCursor(cursor);
 
		mIndexer.setCursor(cursor);
	} 
 
	@Override 
	public int getPositionForSection(int section) {
		return mIndexer.getPositionForSection(section);
	} 
 
	@Override 
	public int getSectionForPosition(int position) {
		return mIndexer.getSectionForPosition(position);
	} 
 
	@Override