Android Open Source - res-check Detail Fragment

From Project

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.

Java Source Code

package com.harrikirik.rescheck.fragment;
//from w w w.j a  v  a2s.  c  om
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,
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);
        return fragment;

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View rootView = inflater.inflate(R.layout.detail_fragment_layout, container, false);
        return rootView;


Java Source Code List