Skip to content

Breadcrumbs are not visible when used in combination with Prism IInitializeAsync #85

@vde-developer

Description

@vde-developer

Hi,

I'm using the breadcrumbs in a Xamarin Forms project that uses the prism framework as an MVVM helper.

When navigating to a Page that uses the IInitializeAsync interface, the breadcrumbs will not be visible. This happens because the moment the constructor of the breadcrumbs is called, the Navigation.NavigationStack returns an empty list.

If created a workaround for this issue by calling the code from the constructor when the page OnAppreaing of the page is called. While this workaround works for me, its definitely not as pretty as i would like.

Do you have any tips on how to best fix this behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions