face it - unavoidable • hard to test - need for UI testing class BasketActivity extends Activity implements BasketView { BasketPresenter presenter; //code
view • Both view and presenter understand data objects @Override void update(BasketItem basketItem){ basketViewsList.getView(basketItem.id).setData(basketItem); }