Skip to content

Why not Hilt? #20

@Piasy

Description

@Piasy

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.

Activity

vmadalin

vmadalin commented on Jul 10, 2020

@vmadalin
Owner

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

murataksu740 commented on Jul 29, 2020

@murataksu740

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

alexandru-calinoiu

alexandru-calinoiu commented on Oct 25, 2020

@alexandru-calinoiu

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

andretortolano commented on Oct 26, 2020

@andretortolano

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

oOJohn6Oo commented on Oct 27, 2020

@oOJohn6Oo

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

jeancsanchez commented on Dec 20, 2020

@jeancsanchez

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

7alma9z

7alma9z commented on Nov 1, 2022

@7alma9z

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @alexandru-calinoiu@Piasy@andretortolano@jeancsanchez@vmadalin

        Issue actions

          Why not Hilt? · Issue #20 · vmadalin/android-modular-architecture