public virtual async Task MoveBackAsync() { if (!CanMoveBack) { return; } SetCurrentPage(_currentIndex - 1); MovedBack.SafeInvoke(this); }
public virtual async Task MoveBackAsync() { if (!CanMoveBack) { return; } var indexOfPreviousPage = NavigationStrategy.GetIndexOfPreviousPage(this); SetCurrentPage(indexOfPreviousPage); MovedBack.SafeInvoke(this); }
protected void RaiseMovedBack() { MovedBack?.Invoke(this, EventArgs.Empty); }