mig*_*igs 5 android android-asynctask
我有一个错误从doInBackground我的方法抛出Asynctask.可能吗?我怎样才能使异常被捕获onPostExecute?
doInBackground
Asynctask
onPostExecute
laa*_*lto 10
您不能跨线程抛出异常.
但是,您可以捕获异常doInBackground(),将其存储在asynctask中的某个成员变量中,然后处理它onPostExecute().
doInBackground()
onPostExecute()
归档时间:
11 年,4 月 前
查看次数:
4333 次
最近记录: