dave08
01/17/2022, 4:53 PMfun inject(someActivity: SomeActivity)
...? It's SO MUCH nicer than having to do the trick in the Android docs on kotlin-inject's Github repo...evant
01/17/2022, 4:58 PMdave08
01/17/2022, 4:59 PMclass MyActivity : Activity() {
private lateinit var myScreen: MyScreen
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate()
myScreen = ActivityComponent::class.create(ApplicationComponent.getInstance(this)).myScreen
evant
01/17/2022, 5:02 PMdave08
01/17/2022, 5:03 PMevant
01/17/2022, 5:07 PMPaul Woitaschek
01/17/2022, 6:12 PMevant
01/17/2022, 6:24 PM