android10 / android10/Android-CleanArchitecture

Dagger and Single Activity Application with this template

Open
#285 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
15.5k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

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 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.