Back to project page res-check.
The source code is released under:
Apache License
If you think the Android project res-check 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.harrikirik.rescheck.fragment; //from w w w.j a v a2s. c om import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.harrikirik.rescheck.R; import com.harrikirik.rescheck.dto.BaseInfoObject; /** * Fragment for Info details * Harri Kirik, harri35@gmail.com */ public class DetailFragment extends Fragment { private static final String ARG_INFO_ITEM = "com.harrikirik.rescheck.ARG_INFO_ITEM"; public static DetailFragment newInstance(final BaseInfoObject infoObject) { final DetailFragment fragment = new DetailFragment(); final Bundle args = new Bundle(); args.putSerializable(ARG_INFO_ITEM, infoObject); fragment.setArguments(args); return fragment; } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.detail_fragment_layout, container, false); return rootView; } }