Code example for AsyncTaskLoader

0
public class JsonLoader extends AsyncTaskLoader<JSONObject> {
 
	private JSONObject jsonData;
 
	public JsonLoader(Context context) {
		super(context);
	} 
 
	/* 
	 * 2 
	 *  
	 * 后台读取 
	 */ 
	@Override 
	public JSONObject loadInBackground() {
		return null; 
	} 
 
	/* 
	 * 3 
Stop searching for code, let great code find you!  Add Codota to your java IDE