Code example for AsyncTaskLoader

Methods: onForceLoad

0
		} 
	} 
 
	@Override 
	protected void onForceLoad() { 
		super.onForceLoad(); 
	} 
 
	private TrackInfo createNewItem(Cursor cursor) {
		TrackInfo item = new TrackInfo();
		item.setTitle(cursor.getString(index_title));
		item.setArtist(cursor.getString(index_artist));
		item.setDisplayName(cursor.getString(index_displayname));
		item.setId(cursor.getLong(index_id));
		item.setAlbum(cursor.getString(index_album));
		item.setDuration(cursor.getLong(index_duration));
		item.setSize(cursor.getLong(index_size));
		item.setData(cursor.getString(index_data));
		return item;
	} 
Experience pair programming with AI  Get Codota for Java