摘要:
在后台下载图片,下载完成后更新UI是一个很常见的需求。在没有AsyncTask类之前,我们需要写许多thread和Handler的代码去实现这个功能,有了AsyncTask,一切变得简单了。下面摘抄谷歌官方介绍:AsyncTask is designed to be a helper class a... 阅读全文
摘要:
今天写程序,遇到了crash,在界面初始化时不会有,想切换到别的tab页就报错了。主要内容如下:Cannot find an outgoing row head for incoming head UIImageView:0x156caec0.Width{id: 103}, which should... 阅读全文