Code example for AlphabetIndexer

Methods: setCursor

0
	} 
 
	public void changeCursor(Cursor cursor)
	{ 
 
		indexer.setCursor(cursor);
 
		if (this.cursor != null)
			this.cursor.close();
 
		this.cursor = cursor;
		if (cursor != null)
			this.notifyDataSetChanged();
		else 
			this.notifyDataSetInvalidated();
 
	} 
 
	@Override 
	public long getItemId(int position)
	{