0
在点击我的活动类中的提交按钮后,我会向服务器发送投诉。这是我的代码,用于在投诉发送到服务器时显示进度条。但点击提交后不会立即显示。它在获得服务器响应之前正在显示进度条。进度条不会立即显示
case R.id.submit:
ProgressDialog.show(this, " " , " Sending Complaint. \n Please wait ... ", true);
/*...code to send complaint and get the response....*/
请帮我