launchActivity

inline fun <T : Activity> Activity.launchActivity(requestCode: Int, options: Bundle? = null, noinline init: Intent.() -> Unit = {})

Launches an activity from an Activity via Activity.startActivityForResult.

Parameters

requestCode
options

inline fun <T : Activity> Context.launchActivity(options: Bundle? = null, noinline init: Intent.() -> Unit = {})

Launches an activity from a Context via Activity.startActivity.

Parameters

options