Commit 0327085 1 parent c60990f commit 0327085 Copy full SHA for 0327085
File tree 2 files changed +4
-20
lines changed
2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 1
- using Android . Widget ;
2
- using MauiSample . Presentation . ViewModels ;
1
+ using MauiSample . Presentation . ViewModels ;
3
2
4
3
namespace MauiSample ;
5
4
Original file line number Diff line number Diff line change @@ -12,25 +12,10 @@ public override void LoadView()
12
12
TaskMonitor . Create (
13
13
async ( ) =>
14
14
{
15
- View ? view = null ;
16
- //if (DeviceInfo.Platform == DevicePlatform.Android)
17
- //{
18
- // await Task.Run(
19
- // () =>
20
- // {
21
- // view = new TView
22
- // {
23
- // BindingContext = BindingContext,
24
- // };
25
- // });
26
- //}
27
- //else
15
+ View ? view = new TView
28
16
{
29
- view = new TView
30
- {
31
- BindingContext = BindingContext ,
32
- } ;
33
- }
17
+ BindingContext = BindingContext ,
18
+ } ;
34
19
35
20
await Task . Delay ( DelayInMilliseconds ) ;
36
21
You can’t perform that action at this time.
0 commit comments