Skip to content

Instantly share code, notes, and snippets.

@dazza5000
Last active November 16, 2016 20:06
Show Gist options
  • Save dazza5000/590d4d5a157d97cc799831c88abd26b3 to your computer and use it in GitHub Desktop.
Save dazza5000/590d4d5a157d97cc799831c88abd26b3 to your computer and use it in GitHub Desktop.
EventsContract
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