Skip to content

Most visited

Recently visited

navigation

ApplicationLifecycleCallback

public interface ApplicationLifecycleCallback

android.support.test.runner.lifecycle.ApplicationLifecycleCallback


Callback for monitoring application lifecycle events.

Summary

Public methods

abstract void onApplicationLifecycleChanged(Application app, ApplicationStage stage)

Called on after an application has processed its lifecycle change event (for example onCreate) These callbacks may occur on main thread so implementers should limit the amount of processing performed

Public methods

onApplicationLifecycleChanged

void onApplicationLifecycleChanged (Application app, 
                ApplicationStage stage)

Called on after an application has processed its lifecycle change event (for example onCreate) These callbacks may occur on main thread so implementers should limit the amount of processing performed

Parameters
app Application: the Application
stage ApplicationStage: its current stage.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.