android10 / Android-CleanArchitecture

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 ?