SyntaxFix
Write A Post
Hire A Developer
Questions
Try this.........
ProgressDialog pd1; pd1=new ProgressDialog(<current context reference here>); pd1.setMessage("Loading...."); pd1.setCancelable(false); pd1.show();
To dismiss....
if(pd1!=null) pd1.dismiss();