Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dagger and Single Activity Application with this template #285

Open
tomprz opened this issue Jul 30, 2018 · 0 comments
Open

Dagger and Single Activity Application with this template #285

tomprz opened this issue Jul 30, 2018 · 0 comments

Comments

@tomprz
Copy link

tomprz commented Jul 30, 2018

Hello and first of all thanks for the sample ! It's great and works pretty fine.

I was wondering as to which adjustments you'd see necessary with this sample in order to have a single Activity with multiple Fragments application ?

HasComponent becomes obsolete since it was used for only 1 component usage. This means that the Activity will build all Components (Repositories) necessary and be scoped during the whole lifetime of the Activity.

This means that a @PerFragment scope will be necessary ? How would you implement it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant