最新回答 / 慕先生0560154
我认为这的确是个问题,所以最好不要在onPause方法中cancel这个asyncTask,而换成在onStop或者onDestory中设置cancel,这样应该就没有问题了。
2016-08-13
最新回答 / 慕粉18419213644
url是在调用AsyncTask.execute()中传递进去的,在之前实例化的时候说明了输入参数是String类型的。并不是因为它是static,而是因为它是String。
2016-08-11
最新回答 / qq_慕神1420022
Windows-----ResetPerspective就可以啦。http://www.yuli.gov.cn/QA/ShowQuestion.aspx?Id=9748http://www.yuli.gov.cn/QA/ShowQuestion.aspx?Id=3511http://www.yuli.gov.cn/QA/ShowQuestion.aspx?Id=11214http://www.yuli.gov.cn/QA/ShowQuestion.aspx?Id=12932http://www.yuli....
2016-04-25
最赞回答 / 慕粉3319974
如果提示报空指针的问题说明你对java还不了解,你这两个对象没有初始化,下面就用肯定空指针啊 progressBar=(ProgressBar)findViewById(R.id.progressBar); imageView=(ImageView)findViewById(R.id.imageView);
2016-04-06