kutils / com.celites.kutils / android.app.Activity

Extensions for android.app.Activity

startActivity

fun <T : Activity> Activity.startActivity(flags: Int = 0, data: Uri? = null, extras: Bundle? = null): Unit

Starts activity from Activity.

startActivityForResult

fun <T : Activity> Activity.startActivityForResult(flags: Int = 0, data: Uri? = null, extras: Bundle? = null, requestCode: Int): Unit

Starts activity for result from Activity.