Re: In MVP is there a difference between declaring the 'binding' interface in the presenter versus the view?

2013-01-08 Thread Thomas Broyer
On Tuesday, January 8, 2013 3:52:32 PM UTC+1, MAQ wrote: > > I saw a lot of sample code, most of them use the following way of creating > MVP: > > public interface ContactsView { > > public interface Presenter { > void onAddButtonClicked(); > void onDeleteButtonClicked(); > void onI

In MVP is there a difference between declaring the 'binding' interface in the presenter versus the view?

2013-01-08 Thread MAQ
I saw a lot of sample code, most of them use the following way of creating MVP: public interface ContactsView { public interface Presenter { void onAddButtonClicked(); void onDeleteButtonClicked(); void onItemClicked(T clickedItem); void onItemSelected(T selectedItem); }