android-modular-architecture icon indicating copy to clipboard operation
android-modular-architecture copied to clipboard

Why not Hilt?

Open Piasy opened this issue 4 years ago • 7 comments

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.

Piasy avatar Jul 10 '20 11:07 Piasy

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.

vmadalin avatar Jul 10 '20 12:07 vmadalin

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

murataksu740 avatar Jul 29 '20 10:07 murataksu740

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.

alexandru-calinoiu avatar Oct 25 '20 13:10 alexandru-calinoiu

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

andretortolano avatar Oct 26 '20 10:10 andretortolano

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.

oOJohn6Oo avatar Oct 27 '20 09:10 oOJohn6Oo

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

jeancsanchez avatar Dec 20 '20 01:12 jeancsanchez

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 ?

7alma9z avatar Nov 01 '22 16:11 7alma9z