Hi there. I have a question about clean architectu...
# android-architecture
u
Hi there. I have a question about clean architecture. Is there some good practice to follow when dealing with use case (i.e. some single operation) result when you want to share it between, say, different view models or interactors?
g
The 2 options I've tried are to store it in a parent viewmodel or use a Singleton class (we called it state, like in redux) that you inject in the ViewModels where you need the data