Last active
November 16, 2016 20:06
-
-
Save dazza5000/590d4d5a157d97cc799831c88abd26b3 to your computer and use it in GitHub Desktop.
EventsContract
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
public interface EventsContract { | |
interface View { | |
void showEvents(List<Event> events); | |
void setPizzaCount(int count); | |
void setTacoCount(int count); | |
void setBeerCount(int count); | |
void setTotalCount(int count); | |
void showFilteringPopUpMenu(); | |
void showNoEventsView(); | |
} | |
interface Presenter { | |
void loadEvents(); | |
void loadYummyCounts(); | |
void searchEvents(String searchTerm); | |
void openEventDetails(Event clickedEvent); | |
void setFiltering(EventsFilterType requestType); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment