红联Linux门户
Linux帮助

扩展任务库 android-multithread

发布时间:2014-03-20 10:11:50来源:红联作者:empast
一个android平台上的扩展任务库,在AsyncTask基础上进行扩展。

用法

1.继承 com.github.snowdream.android.util.concurrent.AsyncTask
2.定义一个 TaskListener.其中的第一个泛型参数是返回结果类型,第二个泛型参数是任务进度的类型。
3.创建一个AsyncTask任务,并且执行。

项目主页:http://snowdream.github.io/android-multithread/

下载地址:https://github.com/snowdream/android-multithread

来自:开源中国社区
文章评论

共有 0 条评论