Indeterminate ProgressBar
I am using the code from this website (http://www.helloandroid.com/tutorials/using-threads-and-progressdialog) in my App. It is somewhat working, but not entirely:
When I press Button X, a method is called, and while it is working, the progress bar is shown. After the method is done, another activity is started. So far everything is working fine. But when I press the "BACK" button on my phone, the progress bar is shown again, and appears to be doing nothing.
What can I do to prevent that?
在开始第二个活动的同时关闭进度栏。
链接地址: http://www.djcxy.com/p/47430.html上一篇: 在javascript中切换布尔值
下一篇: 不确定ProgressBar