mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Move general method to parent and add javadocs for parent
This commit is contained in:
parent
24a85a16a3
commit
c7533eba0f
2 changed files with 6 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public interface NearbyListContract {
|
|||
}
|
||||
|
||||
interface UserActions extends NearbyContract.UserActions {
|
||||
void openCommonsFilePage();
|
||||
void expandItem();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue