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); } }); }
public void finishchangeStatusRequest (TCUpdateStatusHelper helper) { this.loadingView.dismiss (); }
public void changeStatusFail (TCUpdateStatusHelper helper) { MUtils.showRequestFail (this); }
public void beginchangeStatusRequest (TCUpdateStatusHelper helper) { this.loadingView.show (); }
public void changeStatusSuccess (TCUpdateStatusHelper helper, int newStatus) { MApplication.getInstance ().iExpertStatus = newStatus; setStatus (newStatus); }