Code example for AsyncTaskLoader

0
        private final android.support.v4.content.Loader.ForceLoadContentObserver mObserver = new android.support.v4.content.Loader.ForceLoadContentObserver();
        private boolean mObserverRegistered;
 
        public SystemSettingLoader(InstantUploadSettingsActivity instantuploadsettingsactivity)
        { 
            super(instantuploadsettingsactivity);
            mActivity = instantuploadsettingsactivity;
        } 
         
        private Map esLoadInBackground()
        { 
        	// TODO 
            return null; 
        } 
 
        public Map loadInBackground() {
            if(mLoaderException) 
            	return null;  
             
            try { 
            	return esLoadInBackground();