Back to project page Wardrobe_app.
The source code is released under:
Apache License
If you think the Android project Wardrobe_app 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.android.busolo.apps.wardrobe.engine; //w w w. j a v a2 s . c o m /** * Created by s-brian on 5/24/2014. */ import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class MatchFragment extends Fragment{ private final static String LOG_TAG = ""; private final static String ARG_SECTION_NUMBER = "section_number"; private Activity context; public MatchFragment(){} public static MatchFragment newInstance(int sectionNumber) { MatchFragment fragment = new MatchFragment(); Bundle args = new Bundle(); args.putInt(ARG_SECTION_NUMBER, sectionNumber); fragment.setArguments(args); return fragment; } @Override public void onAttach(Activity activity){ super.onAttach(activity); this.context = activity; } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){ View rootView = inflater.inflate(R.layout.fragment_match, container, false); //init ui here return rootView; } @Override public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setRetainInstance(true); } //change ui stuff..frag is live @Override public void onStart(){ super.onStart(); } @Override public void onResume(){ super.onResume(); } @Override public void onPause(){ super.onPause(); } @Override public void onSaveInstanceState(Bundle outState){ super.onSaveInstanceState(outState); } }