activity

fun <A : ComponentActivity> activity(): A

Convenience method to type activity.

abstract val activity: ComponentActivity

The activity which is using the ViewModel.