Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void SetCalendar() {
- DeviceManager.instance.SetCalendarDate(_weddingInfo._calendarEventTitle, _weddingInfo._startDate, _weddingInfo._endDate);
- }
- public void CalenderButtonClicked() {
- DeviceManager.instance.SetCalendarDate(_weddingInfo._calendarEventTitle, _weddingInfo._startDate, _weddingInfo._endDate);
- if (DeviceManager.instance._currentDevice == Device_Type.androidPhone || DeviceManager.instance._currentDevice == Device_Type.androidTablet) {
- DeviceManager.instance.ConfirmLeavingApp("Leave the application to put the wedding date on your phone's calendar? This app might have to reload.", SetCalendar, DoNothing);
- } else if(DeviceManager.instance._currentDevice == Device_Type.iPadDevice || DeviceManager.instance._currentDevice == Device_Type.iPhoneDevice) {
- print ("Hello");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement