-
There are two different source sets. One is the Production and the other is the Development environment. Those two correspond to the prod and mock folders.
-
Using the Build Variant menu from the top left bottom of Android Studio we are able to switch between prod and mock by choosing either mockDebug or prodDebug Variants. We can also select Project View instead of Android View to view our files.
-
DataRepositoryModuleprovides theDataSourceof the source set we currently working. That means we can have different data for the Production and different data to work with when we are doing Development work. It also means we can do work without currently having the backend fully functional.
-
Notifications
You must be signed in to change notification settings - Fork 0
codeteo/InjectPresenterMvpTest
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Constructor injection for Presenter with different dataSource for prod and mock variants
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published