Back to project page journal.
The source code is released under:
MIT License
If you think the Android project journal 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 cochrane343.journal; /*from w w w .ja v a2 s.c o m*/ /** * Callback interface for adding, updating and deleting expenses. * * @author cochrane34 * @since 1.0 */ public interface ExpenseEditListener { /** * Callback method to be invoked for adding a new expense. * @param description the descriptive text for the expense to add * @param costInCents the cost of the expense to add in cents * @param category the id of the category of the expense to add */ void onAddExpense(final String description, final long costInCents, final long category); /** * Callback method to be invoked for updating an existing expense. * @param id the id of the expense to update * @param description the new descriptive text for the expense to update * @param costInCents the new cost in cents of the expense to update * @param category the new id of the category of the expense to update */ void onUpdateExpense(final long id, final String description, final long costInCents, final long category); /** * Callback method to be invoked for deleting an existing expense. * @param id the id of the expense to delete */ void onDeleteExpense(final long id); }