Back to project page AndroidLifecyle.
The source code is released under:
Apache License
If you think the Android project AndroidLifecyle 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.cocosw.lifecycle; /*from w w w .j a va2 s . c om*/ 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; /** * Project: AndroidLifeCycleCallback * Created by LiaoKai(soarcn) on 14-3-17. */ public interface FragmentLifecycleCallbacks { void onFragmentCreated(Fragment fragment, Bundle savedInstanceState); void onFragmentStarted(Fragment fragment); void onFragmentResumed(Fragment fragment); void onFragmentPaused(Fragment fragment); void onFragmentStopped(Fragment fragment); void onFragmentSaveInstanceState(Fragment fragment, Bundle outState); void onFragmentDestroyed(Fragment fragment); void onFragmentAttach(Fragment fragment, Activity activity); void onFragmentDetach(Fragment fragment); void onFragmentActivityCreated(Fragment fragment, Bundle savedInstanceState); void onFragmentCreateView(Fragment fragment, LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState); void onFragmentViewCreated(Fragment fragment, View view, Bundle savedInstanceState); }