Eva
Eva
Seems like it should be doable, we already scan superclasses for `@Provides` we could scan for `@Component` as well. Actually may be worth spending some time seeing if we can...
You'll want to use a https://developer.android.com/reference/androidx/work/WorkerFactory to return your injected instances. Same pattern as what's suggested for fragments in the doc.
Took the liberty of making some changes and merged, feel free to suggest changes through another issue or pr if you feel like there's something I missed!
It's because you can have a scoped inject in a different module than the component so it can't know ahead of time every thing to create a property for. The...
Yeah the benchmark was to see if there was a meaningful performance difference from using a map vs lazy prop, the result was there was not. > with an additional...
That has different semantics though, being lazy is important for the expected behavior.
> How to create and pass a ViewModel in Jetpack Compose for Android? Is https://github.com/evant/kotlin-inject/blob/main/docs/android.md#viewmodels what you are looking at? The idea is you inject the function to create the...
Thanks for the feedback! > I have used Dagger Hilt in the past but not extensively. However, going over the documentation, it was quite difficult understanding the basic concepts of...
I'm personally not a fan of having 2 different ways to do the same thing. I'm leaning towards only providing the second as it can be useful in it's own...
Yep, exactly