mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Create map child contract and fill methods
This commit is contained in:
parent
6483d21738
commit
3b63d9ca2f
2 changed files with 21 additions and 2 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue