blob: e97d342837e3bc79704ca1f278dff7f5b3a2a5b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
using System.Collections.Generic;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
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 ())
{
}
}
}
|