Android Open Source - RESTExplorer Result Fragment






From Project

Back to project page RESTExplorer.

License

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.

Java Source Code

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; };
}




Java Source Code List

com.cmn397.restexplorer.ChooseRequestFragment.java
com.cmn397.restexplorer.MainActivity.java
com.cmn397.restexplorer.RESTAsyncClient.java
com.cmn397.restexplorer.RESTRequestRecord.java
com.cmn397.restexplorer.RESTResponseRecord.java
com.cmn397.restexplorer.RequestDetailFragment.java
com.cmn397.restexplorer.ResponseTypeHandler.java
com.cmn397.restexplorer.ResultFragment.java
com.cmn397.restexplorer.ServerDBOpenHelper.java