lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 14

Application.ActivityLifecycleCallbacks

public static interface Application.ActivityLifecycleCallbacks

android.app.Application.ActivityLifecycleCallbacks


Summary

Public methods

abstract void onActivityCreated(Activity activity, Bundle savedInstanceState)
abstract void onActivityDestroyed(Activity activity)
abstract void onActivityPaused(Activity activity)
abstract void onActivityResumed(Activity activity)
abstract void onActivitySaveInstanceState(Activity activity, Bundle outState)
abstract void onActivityStarted(Activity activity)
abstract void onActivityStopped(Activity activity)

Public methods

onActivityCreated

added in API level 14
public abstract void onActivityCreated (Activity activity, 
                Bundle savedInstanceState)

Parameters
activity Activity

savedInstanceState Bundle

onActivityDestroyed

added in API level 14
public abstract void onActivityDestroyed (Activity activity)

Parameters
activity Activity

onActivityPaused

added in API level 14
public abstract void onActivityPaused (Activity activity)

Parameters
activity Activity

onActivityResumed

added in API level 14
public abstract void onActivityResumed (Activity activity)

Parameters
activity Activity

onActivitySaveInstanceState

added in API level 14
public abstract void onActivitySaveInstanceState (Activity activity, 
                Bundle outState)

Parameters
activity Activity

outState Bundle

onActivityStarted

added in API level 14
public abstract void onActivityStarted (Activity activity)

Parameters
activity Activity

onActivityStopped

added in API level 14
public abstract void onActivityStopped (Activity activity)

Parameters
activity Activity