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
the requestCode to be passed into Activity.startActivityForResult
options
the options bundle to be passed into Activity.startActivityForResult
inline fun <T : Activity> Context.launchActivity(options: Bundle? = null, noinline init: Intent.() -> Unit = {})
Launches an activity from a Context via Activity.startActivity.
Parameters
options
the options bundle to be passed into Activity.startActivity