diff --git a/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/checkoutbutton/CheckoutButton.java b/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/checkoutbutton/CheckoutButton.java index e3139f77..47c6fbfd 100644 --- a/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/checkoutbutton/CheckoutButton.java +++ b/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/checkoutbutton/CheckoutButton.java @@ -40,7 +40,7 @@ public class CheckoutButton extends Button implements CheckoutButtonView, ViewGroupMviDelegateCallback { private final ViewGroupMviDelegate mviDelegate = - new ViewGroupMviDelegateImpl<>(this); + new ViewGroupMviDelegateImpl<>(this, this, true); public CheckoutButton(Context context, AttributeSet attrs) { super(context, attrs); diff --git a/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/selectedcounttoolbar/SelectedCountToolbar.java b/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/selectedcounttoolbar/SelectedCountToolbar.java index 3782ec31..fb66101b 100644 --- a/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/selectedcounttoolbar/SelectedCountToolbar.java +++ b/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/selectedcounttoolbar/SelectedCountToolbar.java @@ -40,7 +40,7 @@ public class SelectedCountToolbar extends Toolbar implements SelectedCountToolba ViewGroupMviDelegateCallback { private final ViewGroupMviDelegate - mviDelegate = new ViewGroupMviDelegateImpl<>(this); + mviDelegate = new ViewGroupMviDelegateImpl<>(this, this, true); private final PublishSubject clearSelectionIntent = PublishSubject.create(); private final PublishSubject deleteSelectedItemsIntent = PublishSubject.create(); diff --git a/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/shoppingcartlabel/ShoppingCartLabel.java b/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/shoppingcartlabel/ShoppingCartLabel.java index a6294863..66d50b7f 100644 --- a/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/shoppingcartlabel/ShoppingCartLabel.java +++ b/sample-mvi/src/main/java/com/hannesdorfmann/mosby3/sample/mvi/view/shoppingcartlabel/ShoppingCartLabel.java @@ -37,7 +37,7 @@ public class ShoppingCartLabel extends AppCompatButton implements ShoppingCartLa ViewGroupMviDelegateCallback { private final ViewGroupMviDelegate - mviDelegate = new ViewGroupMviDelegateImpl<>(this); + mviDelegate = new ViewGroupMviDelegateImpl<>(this, this, true); public ShoppingCartLabel(Context context, AttributeSet attrs) { super(context, attrs);