Back to project page RESTExplorer.
The source code is released under:
MIT License
If you think the Android project RESTExplorer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.cmn397.restexplorer; //w ww .j av a 2s . co m import android.app.Activity; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.cmn397.androidsharedservices.SingleFragment; public class ResultFragment extends SingleFragment { RESTRequestRecord mRSR = null; RESTAsyncClient mASRC = null; @Override public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.result_display_view, parent, false); mASRC = new RESTAsyncClient(); mASRC.setFragment(this); mASRC.execute(mRSR); return v; } public void onAttach(Activity activity) { super.onAttach(activity); } public void setRESTServerRecord(RESTRequestRecord rsr) { mRSR = rsr; }; }