-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathApp.xaml.cs
More file actions
30 lines (24 loc) · 745 Bytes
/
App.xaml.cs
File metadata and controls
30 lines (24 loc) · 745 Bytes
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
using System;
using Xamarin.Forms;
namespace Scheduler_Reminders {
public partial class App : Application {
readonly MainPage page;
public App() {
InitializeComponent();
// MainPage = new MainPage();
page = new MainPage();
MainPage = new NavigationPage(page);
}
protected override void OnStart() {
}
protected override void OnSleep() {
}
protected override void OnResume() {
}
public void ProcessNotification(Guid reminderId, int recurrenceIndex) {
if (reminderId == Guid.Empty)
return;
page.ShowAppointmentEditPage(reminderId, recurrenceIndex);
}
}
}