Code example for AsyncTaskLoader

Methods: deliverResult

		mMusicItemList = data;
		if (isStarted()) {
			// If the Loader is currently started, we can immediately 
			// deliver its results. 
		// At this point we can release the resources associated with 
		// 'oldApps' if needed; now that the new result is delivered we 
		// know that it is no longer in use. 
		if (oldList != null) {
	protected void onReleaseResources(List<TrackInfo> data) {
		Log.i(TAG, "onReleaseResources");
		// For a simple List<> there is nothing to do. For something 
		// like a Cursor, we would close it here.