2015年11月25日

QQ好友列表向左滑动出现置顶、删除--第三方开源--SwipeMenuListView

摘要: SwipeMenuListView是在github上的第三方开源项目,该项目在github上的链接地址是:https://github.com/baoyongzhang/SwipeMenuListView。下载后直接将项目包复制粘贴到需要的项目当中:测试代码:item.xml: 1 2 5 6... 阅读全文

posted @ 2015-11-25 17:46 Z2 阅读(1380) 评论(0) 推荐(1)

左右滑动删除ListView条目Item--第三方开源--SwipeToDismiss

摘要: Android的SwipeToDismiss是github上一个第三方开源框架(github上的项目链接地址:https://github.com/romannurik/Android-SwipeToDismiss)。该开源项目旨在:使得一个ListView的item在用户的手指在屏幕上左滑或者右滑... 阅读全文

posted @ 2015-11-25 15:08 Z2 阅读(823) 评论(0) 推荐(0)

使用自定义的item、Adapter和AsyncTask、第三方开源框架PullToRefresh联合使用实现自定义的下拉列表(从网络加载图片显示在item中的ImageView)

摘要: AsyncTask使用方法详情:http://www.cnblogs.com/zzw1994/p/4959949.html下拉开源框架PullToRefresh使用方法和下载详情:http://www.cnblogs.com/zzw1994/p/4992194.html具体实现的代码如下:item.... 阅读全文

posted @ 2015-11-25 12:13 Z2 阅读(463) 评论(0) 推荐(1)

从一个URL下载原始数据,基于byte字节,得到byte数组

摘要: 1 public static byte[] loadRawDataFromURL(String u) throws Exception { 2 URL url = new URL(u); 3 HttpURLConnection conn = (HttpURLConnection) url.open 阅读全文

posted @ 2015-11-25 10:07 Z2 阅读(928) 评论(0) 推荐(0)

导航