dave
08/23/2019, 9:44 AMAmirul Zin
08/23/2019, 9:57 AMViewModelStore
, but as to where will it be scoped, it’ll be likely either at Application level (e.g singletons) or Service level if you can’t use activities.
Which for simplicity and maintenance sake, you might just as well use a singleton for that.dave
08/23/2019, 11:30 AMigor.wojda
08/23/2019, 12:10 PMAuthRepository
is the way to go. Either inject it directly into ViewMode
(or add another layer and call UseCase
that access the Repository
)dave
08/23/2019, 12:13 PMigor.wojda
08/23/2019, 12:50 PMdave
09/10/2019, 5:09 PMigor.wojda
09/16/2019, 9:57 AM