skydoves / MarvelHeroes

❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, Room, Repository, Koin) architecture.
Apache License 2.0
1.24k stars 165 forks source link

When i clone repository cannot create new datasource instance always take old data #4

Closed rickymerby closed 4 years ago

rickymerby commented 4 years ago

Please complete the following information:

Describe the Bug:

Add a clear description about the problem.

Expected Behavior:

A clear description of what you expected to happen.

skydoves commented 4 years ago

Hi, @rickymerby! Could you explain more details about this issue? You should not reuse the same instance of DataSource in different repositories. And you can reference the Sandwich library for using the DataSource better.