Code example for Loader

Methods: forceLoad

0
	} 
	 
	@SuppressWarnings("unchecked") 
	public void findTVs() { 
		Log.v("DIVX", "Initiate TV search");
		getLoaderManager().initLoader(0, null, this).forceLoad();
	} 
	 
	@SuppressWarnings("unchecked") 
	public void tryAgain() { 
		getLoaderManager().restartLoader(0, null, this).forceLoad();
	} 
	 
	private class TVFragmentUIManager implements TVListManager { 
		private ListView tvList;
		private View progressBar, errorMsg;
		private Activity activity;
		 
		public TVFragmentUIManager(Activity a) {
			this.tvList = (ListView) a.findViewById(R.id.tvList);
			this.progressBar = a.findViewById(R.id.progressBar1);