Beispiel #1
0
        private async void Init()
        {
            await App.Configuration.InitialAsync(this);

            NavigationPage.SetHasNavigationBar(this, true);
            _model = new NotificationSettingViewModel()
            {
                CreateAllEventAction = CreateEvents
            };
            BindingContext = _model;
        }
Beispiel #2
0
 public NotificationSettingPage()
 {
     try
     {
         InitializeComponent();
         _model = new NotificationSettingViewModel()
         {
             CreateAllEventAction = CreateEvents
         };
         Init();
     }
     catch (Exception ex)
     {
         _ = ex;
     }
 }