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.data.interactor; /*from w w w . ja v a2 s .c o m*/ import com.corneliudascalu.mvpnotes.data.model.Note; import com.corneliudascalu.mvpnotes.ui.view.main.OnNoteOperationListener; /** * Defines the notes interactor, which takes care of storing and deleting notes, either directly or * by communicating * with another layer. * * @author Corneliu Dascalu <corneliu.dascalu@gmail.com> */ public interface NoteInteractor { void storeNote(Note note, OnNoteOperationListener listener); void deleteNote(Note note, OnNoteOperationListener listener); void getNote(long id, OnNoteOperationListener listener); void getAllNotes(OnNoteOperationListener listener); }