public void finishFeebackRequest (TCActionView owner, bool isSuccess, int numRate, string feedback) { this.loadingView.dismiss (); if (isSuccess) { this.imageRating.Image = MUtils.getRatingImage (numRate); this.bookingInfo.Rating = numRate; this.bookingInfo.Feedback = feedback; this.bookingInfo.IsFeedback = true; this.actionView.bookingInfo = this.bookingInfo; TCNotificationCenter.defaultCenter.postNotification (MConstants.kPostChangeNumRate, new MFeedbackDTO (this.bookingInfo.Id, numRate, feedback)); } }
public void actionRefreshData (TCActionView owner, SpecialistProfileInfos info) { }
public void finishActionRequest (TCActionView owner, ACTION_INDEX action) { this.loadingView.dismiss (); }
public void beginActionRequest (TCActionView owner, ACTION_INDEX action) { if (action != ACTION_INDEX.EMAIL) { this.loadingView.show (); } }
private void initActionView (SpecialistProfileInfos info) { this.actionView = TCActionView.Create (); this.actionView.specialistInfo = info; this.actionView.iCallId = this.iCallId; this.actionView.bookingInfo = this.bookingInfo; this.actionView.parentController = this; this.actionView.Delegate = this; this.actionView.buildInView (this.viewActionSend); if (MApplication.getInstance ().isConsultant) { this.actionView.displayOnlyFeedback (); } }
public void finishFeebackRequest(TCActionView owner, bool isSuccess, int numRate, string message) { this.loadingView.dismiss(); }
public void actionRefreshData(TCActionView owner, SpecialistProfileInfos info) { if (this.profileView != null) this.profileView.RemoveFromSuperview (); this.loadInfoSpecialist (info); }
private void initActionView(SpecialistProfileInfos info) { this.actionView = TCActionView.Create (); this.actionView.specialistInfo = info; this.actionView.parentController = this; this.actionView.Delegate = this; this.actionView.buildInView (this.viewAction); }