bluelinelabs / Conductor

A small, yet full-featured framework that allows building View-based Android applications
Apache License 2.0
3.9k stars 343 forks source link

Dagger Hilt Extensions #615

Open vincent-paing opened 4 years ago

vincent-paing commented 4 years ago

We already have solutions(#509, #397) for Dagger 2 and Dagger Android, so will there be a plan to support Dagger Hilt via another third-party library, or is there a workaround to use own EntryPoint in Controller?

MkhytarMkhoian commented 4 years ago

@vincent-paing You mean injection into Controller constructor?

hijamoya commented 4 years ago

Currently seems you can only use the entry point interface..

MkhytarMkhoian commented 4 years ago

@vincent-paing You can look at fork https://github.com/lalafo-dev/Conductor ControllerFactory section

ta-shi commented 4 years ago

@MkhytarMkhoian Can you explain briefly how can we achieve it? I know you mention ControllerFactory but wondering if you can explain the steps.

MkhytarMkhoian commented 4 years ago

@ta-shi I looked at Dagger Hilt and this is a different thing of what I mentioned earlier. Sorry about that

FunnyDevs commented 3 years ago

If your are still interested in a hilt extension, this is mine

https://github.com/FunnyDevs/hilt-conductor

vladimirpetrovski commented 1 year ago

Hey here! Is anyone still using this library or you have migrated your projects? I'm just being curios. Thanks!

EricKuck commented 1 year ago

The project is still actively used in several very large apps. At the few I'm aware of Anvil was chosen over Hilt, meaning no changes to the library were needed.