Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

GoBack to View Name #70

Closed
dansiegel opened this issue Jun 9, 2022 · 0 comments · Fixed by #95
Closed

GoBack to View Name #70

dansiegel opened this issue Jun 9, 2022 · 0 comments · Fixed by #95
Labels
enhancement New feature or request

Comments

@dansiegel
Copy link
Member

Description

While we currently support GoBack (1 page)... or GoBackToRoot (within a NavigationPage). There may be times where you simply want to pop the stack to a specified point. For instance if you have a navigation Stack like:

ViewA/ViewB/ViewC/ViewD/ViewE when going back from ViewE you may simply want to go back to ViewB which is neither the root or a single page back.

This will add an overload that will continue navigating back until a specified page is found in the Navigation Stack.

public interface INavigationService
{
    // API Added
    Task<INavigationResult> GoBackAsync(string name, INavigationParameters parameters);
}
@dansiegel dansiegel added the enhancement New feature or request label Jun 9, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant