Last active
August 10, 2020 17:24
-
-
Save catalinghita8/71f326fbf783eaf818576d460e3eabfc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class DataViewModel(val repository: WeatherRepository) | |
| class WeatherRepository(val localClient: LocalDataClient, | |
| val inMemoryClient: InMemoryDataClient, | |
| val remoteClient: RemoteDataClient) | |
| class LocalDataClient(val localDatabase: LocalDatabase) | |
| class InMemoryDataClient(val memoryCache: MemoryCache) | |
| class RemoteDataClient(val retrofit: RetrofitClient) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment