public CounterPage(ReadonlyStore <AppState> store) : base(store) { InitializeComponent(); Content = new StackLayout() { Children = { new CounterWidget(this) } }; }
protected abstract void OnStateChanged(ReadonlyStore <T> store, T newState);
protected BasePage(ReadonlyStore <T> store) { BindingContext = this; Store = store; Navigation = new FluxNavigation(base.Navigation, this); }
protected override void OnStateChanged(ReadonlyStore <AppState> store, AppState newState) { }