Пример #1
0
		public void updateStatusExpert (object notificaiton)
		{
			this.InvokeOnMainThread (delegate {
				int status = int.Parse (notificaiton.ToString ());

				if (status != MApplication.getInstance ().iExpertStatus) {

					TCUpdateStatusHelper updateStatusHelper = new TCUpdateStatusHelper (this);
					updateStatusHelper.Delegate = this;
					updateStatusHelper.changeToStatus (MApplication.getInstance ().userId, status);
				} 
			});
		}
Пример #2
0
		public void finishchangeStatusRequest (TCUpdateStatusHelper helper)
		{
			this.loadingView.dismiss ();
		}
Пример #3
0
		public void changeStatusFail (TCUpdateStatusHelper helper)
		{
			MUtils.showRequestFail (this);
		}
Пример #4
0
		public void beginchangeStatusRequest (TCUpdateStatusHelper helper)
		{
			this.loadingView.show ();
		}
Пример #5
0
		public void changeStatusSuccess (TCUpdateStatusHelper helper, int newStatus)
		{
			MApplication.getInstance ().iExpertStatus = newStatus;
			setStatus (newStatus);
		}