Is it possible with Hilt to use assisted inject wi...
# dagger
n
Is it possible with Hilt to use assisted inject with 3rd party class, when you can’t add annotations to constructor of that class?
🚫 1
h
No but kinda yes, you can create your own assisted injected class that holds that 3rd party one, has the same parameters and if it's an interface you can just use delegation and have by in the construction if it's easily instantiated or you hold it as a variable inside upon creation from your assisted factory