Android Open Source - AndroidLifecyle Fragment Lifecycle Callbacks Adapter






From Project

Back to project page AndroidLifecyle.

License

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.

Java Source Code

package com.cocosw.lifecycle;
/*  w  ww  . j av a 2 s.  co m*/
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 class FragmentLifecycleCallbacksAdapter implements FragmentLifecycleCallbacks {
    @Override
    public void onFragmentCreated(Fragment fragment, Bundle savedInstanceState) {

    }

    @Override
    public void onFragmentStarted(Fragment fragment) {

    }

    @Override
    public void onFragmentResumed(Fragment fragment) {

    }

    @Override
    public void onFragmentPaused(Fragment fragment) {

    }

    @Override
    public void onFragmentStopped(Fragment fragment) {

    }

    @Override
    public void onFragmentSaveInstanceState(Fragment fragment, Bundle outState) {

    }

    @Override
    public void onFragmentDestroyed(Fragment fragment) {

    }

    @Override
    public void onFragmentAttach(Fragment fragment, Activity activity) {

    }

    @Override
    public void onFragmentDetach(Fragment fragment) {

    }

    @Override
    public void onFragmentActivityCreated(Fragment fragment, Bundle savedInstanceState) {

    }

    @Override
    public void onFragmentCreateView(Fragment fragment, LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

    }

    @Override
    public void onFragmentViewCreated(Fragment fragment, View view, Bundle savedInstanceState) {

    }
}




Java Source Code List

com.cocosw.lifecycle.ActivityLifecycleCallbacksAdapter.java
com.cocosw.lifecycle.ActivityLifecycleCallbacksCompat.java
com.cocosw.lifecycle.ActivityLifecycleCallbacksWrapper.java
com.cocosw.lifecycle.FragmentLifecycleCallbacksAdapter.java
com.cocosw.lifecycle.FragmentLifecycleCallbacks.java
com.cocosw.lifecycle.LifecycleDispatcher.java
com.cocosw.lifecycle.app.Activity.java
com.cocosw.lifecycle.app.FragmentActivity.java
com.cocosw.lifecycle.app.Fragment.java