Last active
May 22, 2018 19:56
-
-
Save talosdev/500b43293f04716b2f3e9fd606b4a999 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
| public class LocationInteractor { | |
| private final LocationProvider locationProvider; | |
| @Inject | |
| public LocationInteractor(LocationProvider locationProvider) { | |
| this.locationProvider = locationProvider; | |
| } | |
| public Single<Location> getLocation() { | |
| return locationProvider.getLocation(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment