Dagger and Single Activity Application with this template
tomprz opened this issue · comments
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 ?