2016-03-22 23:02:25 +03:00
using System.Collections.Generic ;
using Xamarin.Forms.CustomAttributes ;
2016-04-26 18:20:55 +03:00
using Xamarin.Forms.Internals ;
2016-03-22 23:02:25 +03:00
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers=true)]
[Issue (IssueTracker.Bugzilla, 32034, "MissingMethodException while pushing and popping pages",PlatformAffected.Android, NavigationBehavior.PushModalAsync)]
public class Bugzilla32034 : NavigationPage
{
public class ButtonPage : ContentPage
{
public ButtonPage ( )
{
Content = new StackLayout {
Children = {
new Button {
Text = "Push" , Command = new Command ( o = > ( ( NavigationPage ) Parent ) . PushAsync ( new ButtonPage ( ) ) )
} ,
new Button {
Text = "Pop" , Command = new Command ( o = > ( ( NavigationPage ) Parent ) . Navigation . PopAsync ( ) )
} ,
} ,
} ;
}
}
public Bugzilla32034 ( ) : base ( new ButtonPage ( ) )
{
}
}
}