Ejemplo n.º 1
0
		private void onTimerSendCacelDeferTalkNow(){
			if (constants.currentActivity != null) {
				constants.currentActivity.RunOnUiThread (() => {
					DeferTalkNowUI deferDialog = new DeferTalkNowUI (constants.currentActivity);
					deferDialog.actionDeferDelegate = this;
					deferDialog.OnTimerSendCancelDefer (constants.deferInfo.BookingId, constants.deferInfo, 60);
				});
			}
		}
Ejemplo n.º 2
0
		public void onSuccessGetBookingInfo (BookingInfo bookingInfo)
		{
			if (constants.currentActivity != null) {
				constants.currentActivity.RunOnUiThread (() => {
					if (progressDialogParentRootView != null)
						progressDialogParentRootView.Hide ();
					if (bookingInfo != null) {
						if (bookingInfo.PastBooking != null) {
							DeferTalkNowUI deferDialog = new DeferTalkNowUI (constants.currentActivity);
							deferDialog.actionDeferDelegate = this;
							deferDialog.showPopupDefer (bookingInfo, constants.deferInfo);
						} else {
							onTimerSendCacelDeferTalkNow ();
						}
					} else {
						onTimerSendCacelDeferTalkNow ();
					}
				});
			}
		}