ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Responses (5)

Consider another approach: create a singleton repository and reusable use cases. The repo should hold the active user object as a state holder for example.

--

It feels like you are just sharing observables through repositories and collecting the data directly. What’s the difference between a repository with a StateFlow and a state holder?
Regarding the ApplicationStateStore, you mentioned that it is meant…

--

I was implementing most of these principles except for few without knowing that these are actually some principles xd :)

--