//Ìí¼ÓÉÁ´æÆÀÂÛʼþ public async void AddCommentClick(Object o, EventArgs e) { string content = edit_content.Text.Trim(); if (string.IsNullOrEmpty(content)) { return; } if (!string.IsNullOrEmpty(displayUserName)) { content = content.Replace(displayUserName, displayUserName + " "); } ProgressDialog progressDialog = new ProgressDialog(this); progressDialog.SetProgressStyle(ProgressDialogStyle.Spinner); progressDialog.SetMessage("Ìí¼ÓÆÀÂÛÖÐ...."); progressDialog.Show(); var result = await StatusService.AddComment(UserTokenUtil.GetToken(this), statusId.ToString(), replyToUserId, parentCommentId, content); if (result.Success) { RunOnUiThread(async() => { progressDialog.Hide(); await StatusService.ListStatusComment(AccessTokenUtil.GetToken(this), statusId, callBackSuccess, callBackError); edit_content.Text = ""; AlertUtil.ToastShort(this, "ÆÀÂ۳ɹ¦"); }); } else { RunOnUiThread(() => { progressDialog.Hide(); AlertUtil.ToastShort(this, result.Message); }); } }