public interface

ActivityLifecycleCallback

android.support.test.runner.lifecycle.ActivityLifecycleCallback

Class Overview

Callback for monitoring activity lifecycle events. These callbacks are invoked on the main thread, so any long operations or violating the strict mode policies should be avoided.

Summary

Public Methods
abstract void onActivityLifecycleChanged(Activity activity, Stage stage)
Called on the main thread after an activity has processed its lifecycle change event (for example onResume or onStart)

Public Methods

public abstract void onActivityLifecycleChanged (Activity activity, Stage stage)

Called on the main thread after an activity has processed its lifecycle change event (for example onResume or onStart)

Parameters
activity The activity
stage its current stage.