vmadalin / android-modular-architecture

📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
https://proandroiddev.com/android-components-architecture-in-a-modular-word-7414a0631969
Apache License 2.0
2.41k stars 392 forks source link

Why not Hilt? #20

Open Piasy opened 4 years ago

Piasy commented 4 years ago

Why don't you use Hilt? Google says

Dagger and Hilt code can coexist in the same codebase. However, in most cases it is best to use Hilt to manage all of your usage of Dagger on Android.

vmadalin commented 4 years ago

Hi Piasy. First of all, thanks for your issue. To be honest there is no reason a part project time. This project was built before Hilt goes official, more specifically at the end of last year. Of course could be very interesting to add it.

murataksu740 commented 4 years ago

I try to add hilt, but there are a lot of problems. Are you considering adding to the project?

alexandru-calinoiu commented 3 years ago

I think one should benefit from o debate, like hilt vs koin.

I for think that the dsl of koin and functional resolution makes it really easy and clear on how to get started.

andretortolano commented 3 years ago

I have a sample where I use a little bit of Hilt along with dagger to make it work for multi module projects. but I hardly consider it ready for production, they still need to evolve Hilt to support this kind of modular injection

oOJohn6Oo commented 3 years ago

Hi Piasy. First of all, thanks for your issue. To be honest there is no reason a part project time. This project was built before Hilt goes official, more specifically at the end of last year. Of course could be very interesting to add it.

I'm sorry, just don't want to open another issue, I'm curious about your project structure. Why are there folders named "kotlin" instead of "java"? Like app/src/main/kotlin/com.xx. I can't create a project like this using AS.

jeancsanchez commented 3 years ago

I think, at this time (December, 2020) Hilt is not in production.

7alma9z commented 1 year ago

I think one should benefit from o debate, like hilt vs koin.

I for think that the dsl of koin and functional resolution makes it really easy and clear on how to get started.

I have a sample where I use a little bit of Hilt along with dagger to make it work for multi module projects. but I hardly consider it ready for production, they still need to evolve Hilt to support this kind of modular injection

have you got any solution for this problem or its still there ?