Code example for AsyncTaskLoader

        List<OnlineAudioResource> onlineResources;
        BibleText loadBibleText;
        public ResourceLoader(Context context, BibleText bibleTxt) {
            loadBibleText = bibleTxt;
         * This is where the bulk of our work is done.  This function is 
         * called in a background thread and should generate a new set of 
         * data to be published by the loader. 
        @Override public List<OnlineAudioResource> loadInBackground() {
			Log.d("ResourceLoader", "Load Resources from Server in Background");
            return new CrossConnectServerService().getOnlineResource(loadBibleText.getBook());
Connect your IDE to all the code out there  Get Codota for Java