Create map child contract and fill methods

This commit is contained in:
neslihanturan 2019-05-12 10:16:05 +03:00
parent 6483d21738
commit 3b63d9ca2f
2 changed files with 21 additions and 2 deletions

View file

@ -2,10 +2,15 @@ package fr.free.nrw.commons.nearby.mvp;
public interface NearbyContract { public interface NearbyContract {
interface View { interface View {
void showPlaces();
} }
interface UserActions { interface UserActions {
void uploadImageGallery();
void uploadImageCamera();
void bookmarkItem();
void getDirections();
void openWikidata();
void rotateScreen();
} }
} }

View file

@ -0,0 +1,14 @@
package fr.free.nrw.commons.nearby.mvp;
public interface NearbyMapContract {
interface View extends NearbyContract.View {
void showSearchThisAreaButton();
void showInformationBottomSheet();
void showFABs();
}
interface UserActions extends NearbyContract.UserActions {
void searchThisArea();
void recenterMap();
}
}