我想显示一个 ProgresDialog 但我不知道我的代码有什么问题。ProgressDialog 未显示。请有任何想法。
imageBtnRouteStart.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
dialog = ProgressDialog.show(_activity, "", "Loading...", true, false);
new OtherActivity().SaveR(_id, _activity, true, true);
//** Launch the activity
Intent showContent = new Intent(_activity.getApplicationContext(),
NewActivity.class);
_activity.startActivity(showContent);
}
});