摘要: 最近做一个功能需要用到AsyncTask。实现的过程很容易,但是在cancel的时候遇到了一点麻烦。找了很多地方终于找到了比较好的方法,这里跟大家分享一下。根据Android Developer的介绍http://developer.android.com/intl/zh-CN/reference/android/os/AsyncTask.html:AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish resul 阅读全文
posted @ 2012-09-21 15:01 茶树 阅读(6551) 评论(2) 推荐(1) 编辑