public void onClickPostBtn(View v) { mProgressDialog = CustomProgressDialog.createDialog(this); mProgressDialog.show(); mActor.postEdit(); }