Move general method to parent and add javadocs for parent

This commit is contained in:
neslihanturan 2019-05-12 10:35:13 +03:00
parent 24a85a16a3
commit c7533eba0f
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
package fr.free.nrw.commons.nearby.mvp;
/**
* General View and UserAction methods are defined under
* this interface. This interface can be considered parent
* of both NearbyMapContract and NearbyListContract
*/
public interface NearbyContract {
interface View {
@ -13,6 +18,7 @@ public interface NearbyContract {
void getDirections();
void seeWikidataItem();
void seeWikipediaArticle();
void seeCommonsFilePage();
void rotateScreen();
}
}

View file

@ -13,7 +13,6 @@ public interface NearbyListContract {
}
interface UserActions extends NearbyContract.UserActions {
void openCommonsFilePage();
void expandItem();
}
}