Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Xamarin.Forms NavigationPageAdapter #485

Merged

Conversation

bryanbcook
Copy link
Contributor

This is a small tweak to the Xamarin.Forms NavigationPageAdapter to allow users to apply additional logic when a page is pushed or popped from the navigation stack.

As an example, I have a cross-cutting concern for network connectivity in my application. Users are able to navigate while offline, but I need a visual indicator on each page to show connectivity. Rather than have all pages in the application query the network status on activation, it would be ideal if the network status was provided to them externally as they navigated. With this PR I can subclass NavigationPageAdapter to provide status when pages are pushed/popped.

@nigel-sampson nigel-sampson merged commit 526a6c8 into Caliburn-Micro:master Oct 23, 2017
@nigel-sampson
Copy link
Contributor

A good change, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants