зеркало из https://github.com/DeGsoft/maui-linux.git
[Controls] Fix build of test case
This commit is contained in:
Родитель
8689932907
Коммит
81d6812dc9
|
@ -14,6 +14,7 @@ namespace Xamarin.Forms.Controls.Issues
|
||||||
[Issue(IssueTracker.Bugzilla, 51642, "Delayed BindablePicker UWP", PlatformAffected.All)]
|
[Issue(IssueTracker.Bugzilla, 51642, "Delayed BindablePicker UWP", PlatformAffected.All)]
|
||||||
public partial class Bugzilla51642 : ContentPage
|
public partial class Bugzilla51642 : ContentPage
|
||||||
{
|
{
|
||||||
|
#if APP
|
||||||
public Bugzilla51642 ()
|
public Bugzilla51642 ()
|
||||||
{
|
{
|
||||||
InitializeComponent ();
|
InitializeComponent ();
|
||||||
|
@ -29,6 +30,7 @@ namespace Xamarin.Forms.Controls.Issues
|
||||||
await Task.Delay(1000);
|
await Task.Delay(1000);
|
||||||
Device.BeginInvokeOnMainThread(() => BindingContext = new Bz51642VM());
|
Device.BeginInvokeOnMainThread(() => BindingContext = new Bz51642VM());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
[Preserve(AllMembers=true)]
|
[Preserve(AllMembers=true)]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче