-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from foodRev/merge-development-user-type
Merge development user type
- Loading branch information
Showing
27 changed files
with
804 additions
and
138 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
21 changes: 21 additions & 0 deletions
21
app/src/main/java/foodrev/org/foodrev/domain/infos/models/DriverTasks.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package foodrev.org.foodrev.domain.infos.models; | ||
|
||
/** | ||
* Created by darver on 4/14/17. | ||
*/ | ||
|
||
public class DriverTasks { | ||
public String sourceKey; | ||
public String destinationKey; | ||
public int progress; | ||
|
||
public DriverTasks() { | ||
|
||
} | ||
|
||
public DriverTasks(String sourceKey, String destinationKey, int progress) { | ||
this.sourceKey = sourceKey; | ||
this.destinationKey = destinationKey; | ||
this.progress = progress; | ||
} | ||
} |
31 changes: 0 additions & 31 deletions
31
app/src/main/java/foodrev/org/foodrev/domain/interactors/impl/SampleInteractorImpl.java
This file was deleted.
Oops, something went wrong.
This file contains 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
14 changes: 0 additions & 14 deletions
14
app/src/main/java/foodrev/org/foodrev/domain/repository/Repository.java
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
17 changes: 17 additions & 0 deletions
17
app/src/main/java/foodrev/org/foodrev/presentation/presenters/UserTypePresenter.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package foodrev.org.foodrev.presentation.presenters; | ||
|
||
import foodrev.org.foodrev.presentation.presenters.base.BasePresenter; | ||
import foodrev.org.foodrev.presentation.ui.BaseView; | ||
|
||
/** | ||
* Created by darver on 5/15/17. | ||
*/ | ||
|
||
public interface UserTypePresenter extends BasePresenter<UserTypePresenter.View> { | ||
interface View extends BaseView { | ||
void goToCoordinatorMode(); | ||
void goToDriverMode(); | ||
} | ||
void coordinatorSelected(); | ||
void driverSelected(); | ||
} |
Oops, something went wrong.