我有一个扩展Runnable的类。这个类在不同的线程中执行一些繁重的操作(基本上是从网络下载图像)。我想更新此类的UI(将下载的图像显示到ImageView)。我尝试使用处理程序但没有成功。这是我的代码:classDataReceiverimplementsRunnable{publicBitmapbmp;PublicHandleruiHandle;@Overridepublicvoidrun(){while(true){//doimagedownloadprocesshere}}}在主要Activity中ImageViewimg=(ImageView)findViewById(R.i