https://kotlinlang.org logo
#android
Title
# android
h

Hovhannes

08/27/2021, 12:52 PM
Hello, is it ok to pass data from Repositories to RemoteDataSource in MVVM?
😶 1
h

haris mehmood

08/27/2021, 12:59 PM
Yes its ok. I'm using same
o

Orhan Tozan

08/27/2021, 5:17 PM
1. Not sure what you really mean unless you provide us with some more details 2. A RemoteDataSource should generally not have a dependency on a Repository 3. Your UI architecture (MVVM) shouldn't have an influence the way you architecture your data flow, since they have both seperate responsibilities
4 Views