Code example for SimpleCursorAdapter

Methods: getItem

0
		} 
 
		@Override 
		public int getPositionForSection(int section) { 
			if (USE_SECTION_INDEXER) 
				return MappingCursorLoader.getGroupHeaderPosition((Cursor)getItem(0), section); 
			else 
				return 0; 
		} 
 
		@Override 
		public int getSectionForPosition(int position) { 
			return 0; 
		} 
 
		@Override 
		public Object[] getSections() { 
			if (USE_SECTION_INDEXER) 
				return MappingCursorLoader.getGroupKeys((Cursor)getItem(0)); 
			else 
				return null;