Back to project page mvp-notes.
The source code is released under:
Apache License
If you think the Android project mvp-notes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.corneliudascalu.mvpnotes.ui.view.main; //from w w w . java 2 s .com import com.corneliudascalu.mvpnotes.data.model.Note; /** * Defines the methods of a NotesPresenter implementation * * @author Corneliu Dascalu <corneliu.dascalu@gmail.com> */ public interface NotesPresenter { /** * Request a list of notes from the presenter */ void requestNotes(); /** * Send a note to the presenter, to store it */ void submitNewNote(String title, String text); /** * Request to the presenter to delete this note */ void deleteNote(Note note); }