Skip to content

Inject Presenter inside another Presenter's constructor #1652

Answered by mslalith
LloydBlv asked this question in Q&A
Discussion options

You must be logged in to vote

I've done something similar here. I don't think you need @Assisted annotation for presenter params. As your DI graph is already aware of on how to provide RatePresenter, they should be injected. BTW, I'm using Hilt for DI

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@LloydBlv
Comment options

Comment options

You must be logged in to vote
2 replies
@LloydBlv
Comment options

@mslalith
Comment options

Answer selected by LloydBlv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1651 on September 15, 2024 13:07.