diff options
author | adrianknight89 <adrianknight89@outlook.com> | 2017-06-20 09:45:45 -0700 |
---|---|---|
committer | E.Z. Hart <hartez@users.noreply.github.com> | 2017-06-20 10:45:45 -0600 |
commit | f5caf6881f203167cd575202cd0b9820e8ffb30e (patch) | |
tree | 023bc7fd7c7ea3da2ea6de7071c13ac779d7e17d /Xamarin.Forms.Platform.Android/AppCompat | |
parent | 99074753a0f20414be8eb423153fd6aaaafef87b (diff) | |
download | xamarin-forms-f5caf6881f203167cd575202cd0b9820e8ffb30e.tar.gz xamarin-forms-f5caf6881f203167cd575202cd0b9820e8ffb30e.tar.bz2 xamarin-forms-f5caf6881f203167cd575202cd0b9820e8ffb30e.zip |
[Android] Change modifiers on NavigationPageRenderer's navigation methods (#1001)
* align with FormsApplicationActivity
* removed unused using statements
* remove using statement
Diffstat (limited to 'Xamarin.Forms.Platform.Android/AppCompat')
-rw-r--r-- | Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs index 48039f2c..2126e2d8 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs @@ -454,12 +454,12 @@ namespace Xamarin.Forms.Platform.Android.AppCompat e.Task = PopToRootAsync(e.Page, e.Animated); } - Task<bool> OnPopToRootAsync(Page page, bool animated) + protected virtual Task<bool> OnPopToRootAsync(Page page, bool animated) { return SwitchContentAsync(page, animated, true, true); } - Task<bool> OnPopViewAsync(Page page, bool animated) + protected virtual Task<bool> OnPopViewAsync(Page page, bool animated) { Page pageToShow = ((INavigationPageController)Element).Peek(1); if (pageToShow == null) @@ -468,7 +468,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat return SwitchContentAsync(pageToShow, animated, true); } - Task<bool> OnPushAsync(Page view, bool animated) + protected virtual Task<bool> OnPushAsync(Page view, bool animated) { return SwitchContentAsync(view, animated); } |