public override void Push(StatePushParameters pushParameters) { Parameters = pushParameters as UIPushParameters; if (Parameters != null && Parameters.CreateNewPage) { CreatePage(); } PreparePage(); }
public void PushState <T>(StatePushParameters parameters) where T : State.State { GetStateInstance <T>(out var stateToPush); if (stateToPush == null) { return; } stateToPush.Push(parameters); if (stateToPush is UIState) { PushUIState(stateToPush as UIState); } else { PushLogicState(stateToPush as LogicState); } }
public override void Push(StatePushParameters pushParameters) { Parameters = pushParameters as LoggedinStatePushParameters; CurrentSelectedUser = Parameters.user; }
public override void Push(StatePushParameters pushParameters) { }
public abstract void Push(StatePushParameters pushParameters);