我有一个简单的android小部件,我想用来自Internet的图像对其进行更新。我可以在小部件上显示静态图像没问题。有人告诉我,您需要为此使用异步任务,而我对此经验不多。这是我的小部件:@OverridepublicvoidonUpdate(Contextcontext,AppWidgetManagerappWidgetManager,int[]appWidgetIds){super.onUpdate(context,appWidgetManager,appWidgetIds);for(inti=0;i然后我有一个执行下载的异步任务类。它看起来像这样:publicclassDownl