Skip to content

Commit

Permalink
extended the navigation interface for modal navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
APBell committed Jul 10, 2024
1 parent 8b1475e commit f727664
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,12 @@ public interface INavigationService
/// Navigates to the next page for TViewModel and removes the current page from the navigation stack.
/// </summary>
Task ShowViewAndRemoveCurrent<TViewModel>();

/// <summary>
/// Navigation methods for using the modal navigation stack.
/// </summary>
Task ShowModalViewAsync<TViewModel>(string navigationStackName = "") where TViewModel : IViewModel;
Task ShowAndInitializeModalViewAsync<TViewModel, T>(T parameter, string navigationStackName = "") where TViewModel : IViewModel, IAsyncInitializable<T>;
Task GoBackModalAsync()

Check failure on line 46 in src/Blauhaus.MVVM.Abstractions/Navigation/NavigationService/INavigationService.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 46 in src/Blauhaus.MVVM.Abstractions/Navigation/NavigationService/INavigationService.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 46 in src/Blauhaus.MVVM.Abstractions/Navigation/NavigationService/INavigationService.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 46 in src/Blauhaus.MVVM.Abstractions/Navigation/NavigationService/INavigationService.cs

View workflow job for this annotation

GitHub Actions / build

; expected
}
}

0 comments on commit f727664

Please sign in to comment.