android10 / android10/Android-CleanArchitecture

Navigator becoming God object

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

Description

In one of our projects, the [`Navigator`](https://github.com/android10/Android-CleanArchitecture/blob/master/presentation/src/main/java/com/fernandocejas/android10/sample/presentation/navigation/Navigator.java) became a [God object](https://sourcemaking.com/antipatterns/the-blob), referencing more than 20 activities.

Wondering if you may have any thoughts about how to create a solution that does not result in a navigator with a huge method collection :-P.

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.