FakeActivityPanelEntity


class FakeActivityPanelEntity : FakePanelEntity


Test-only implementation of ActivityPanelEntity

Summary

Public constructors

Public functions

open Unit
launchActivity(intent: Intent, bundle: Bundle?)

Launches the given activity into the panel.

open Unit

Moves the given activity into the panel.

Public constructors

FakeActivityPanelEntity

Added in 1.0.0-alpha04
FakeActivityPanelEntity()

Public functions

launchActivity

Added in 1.0.0-alpha04
open fun launchActivity(intent: Intent, bundle: Bundle?): Unit

Launches the given activity into the panel.

Parameters
intent: Intent

Intent to launch the activity.

bundle: Bundle?

Bundle to pass to the activity, can be null.

moveActivity

Added in 1.0.0-alpha04
open fun moveActivity(activity: Activity): Unit

Moves the given activity into the panel.

Parameters
activity: Activity

Activity to move into the ActivityPanel.