Skip to content

Navigation Crash #2

Description

@jamesmontemagno

So the issue is with:

private async void editClicked(object sender, EventArgs args)
        {
            NavigationPage editPage = new NavigationPage(new Editor(displayBody));
            //await Navigation.PushModalAsync(editPage);
            await Navigation.PushAsync(editPage);
        }

When you wrap the "Editor" in a Navigation page there is a new navigation stack.

So technically you would have to do:

var topNav = ((NavigationPage)this.Parent.Parent).Navigation;

So I would recommend just not having another navigationpage there.

I have updated a bunch of things in the final exercise 3 --. #1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions