start

fun <T : Any> KClass<T>.start(context: Context, with: (bundle: Bundle) -> Unit? = null)

Start an activity from the class

Parameters

context

Context to start the activity from

with

Optional bundle