private void HandleNativeNavigationArgs(HomePage sender, NativeNavigationArgs args) { //when receive message open a new Activity using Android Intent Intent activity = new Intent(this, typeof(BarChartActivity)); StartActivity(activity); }
private void HandleNativeNavigationMessage(HomePage sender, NativeNavigationArgs args) { //sender.Navigation.PushModalAsync(args.Page); var rootViewController = UIApplication.SharedApplication.KeyWindow.RootViewController.ChildViewControllers.First().ChildViewControllers.Last().ChildViewControllers.First(); MyThirdViewController callHistory = new MyThirdViewController(); callHistory.ModalPresentationStyle = UIModalPresentationStyle.OverCurrentContext; rootViewController.PresentViewController(callHistory, true, null); }
private void HandleNativeNavigationMessage(MainPage sender, NativeNavigationArgs args) { //StartActivity(typeof(MyThirdActivity)); switch (args.Navigation) { case App.ShowLandscapeView: StartActivity(typeof(LandscapeActivity)); break; case App.ShowPortraitView: StartActivity(typeof(PortraitActivity)); break; } }
private void HandleNativeNavigationMessage(MainPage sender, NativeNavigationArgs args) { switch (args.Navigation) { case App.ShowPortraitView: OrientationMask = UIInterfaceOrientationMask.Portrait; sender.Navigation.PushModalAsync(new PortraitPage()); break; case App.ShowLandscapeView: OrientationMask = UIInterfaceOrientationMask.Landscape; sender.Navigation.PushModalAsync(new LandscapePage()); break; } }
private void HandleNativeNavigationMessage(MyFirstPage sender, NativeNavigationArgs args) { sender.Navigation.PushAsync(args.Page); }
private void HandleNativeNavigationMessage(IntroPage sender, NativeNavigationArgs args) { StartActivity(typeof(MyThirdActivity)); }
void HandleNativeNavigationMessage(MyFirstPage sender, NativeNavigationArgs args) { sender.Navigation.PushAsync(args.Page); }
private void HandleNativeNavigationMessage(EntryPage sender, NativeNavigationArgs args) { StartActivity(typeof(TakePhotoActivity)); }
private void HandleNativeNavigationMessage(HomePage sender, NativeNavigationArgs args) { Bundle translateBundle = ActivityOptions.MakeCustomAnimation(this, Resource.Animation.abc_fade_in, Resource.Animation.abc_fade_out).ToBundle(); this.StartActivity(new Intent(this, typeof(MyThirdActivity)), translateBundle); }