Code example for Cursor

Methods: isAfterLast

0
		if (_cursor.isBeforeFirst())
			_cursor.moveToFirst();
	} 
 
	public boolean isNull() { 
		return _cursor.isAfterLast();
	} 
 
	public Uri getContentUri() {
		return ContentUris.withAppendedId(PodcastProvider.URI, getId());
	} 
 
	public long getId() { 
		if (_idColumn == null)
			_idColumn = _cursor.getColumnIndexOrThrow(PodcastProvider.COLUMN_ID);
		return _cursor.getLong(_idColumn);
	} 
 
	public String getTitle() {
		if (_titleColumn == null)
			_titleColumn = _cursor.getColumnIndexOrThrow(PodcastProvider.COLUMN_TITLE);