コード例 #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);
		}