intent

fun intent(block: IntentSpec.() -> Unit)

Adds a launch intent built with the IntentSpec DSL. Repeat to build a back stack; the last intent added is the one launched.


fun intent(intent: Intent)

Adds a pre-built launch intent. The intent must have an action set.