inject

inline fun <T : Any> ComponentActivity.inject(qualifier: Any? = null): T

Inject an instance for ComponentActivity.

Parameters

qualifier

Qualifier for identification. Specify the instantiation of the annotation with Qualifier.