Show spinning wheel dialog while loading data on Android
问题 I want to show a spinning wheel dialog while my app loads some data: The spinning wheel dialog should show on a button click. I’m using the code below but it does now show the spinning wheel. What could be the problem? public void CheckAccount(String username, String password) { try { final ProgressDialog progDailog = ProgressDialog.show(this, "Progress_bar or give anything you want", "Give message like ....please wait....", true); new Thread() { public void run() { try { // sleep the thread,