项目源码
本文所述项目已开源,源码地址
为什么做PullToRefresh-PinnedSection-ListView
前段时间因为项目需求,需要在Android中对ListView同时增加下拉刷新和分段头悬停的效果,受到dkmeteor的启发,Merge了两个Github上的开源项目:
Android-PullToRefresh(handmark版,目前已不再更新)
St...
分类:
移动开发 时间:
2014-10-22 11:04:46
阅读次数:
184
第一种方法:在主线程中加入这段代码,强制在主线程执行网络请求 if (android.os.Build.VERSION.SDK_INT > 9) { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder(...
分类:
移动开发 时间:
2014-10-22 10:45:18
阅读次数:
192
有时候调用web service 会出现
Message does not conform to configured policy [ AuthenticationTokenPolicy(S) ]: No Security Header found
这样的错误。...
分类:
编程语言 时间:
2014-10-22 08:45:39
阅读次数:
567
本文将介绍git分支的操作,包括新建和删除分支、查看和切换分支、合并分支和合并冲突等内容。...
分类:
其他好文 时间:
2014-10-21 21:32:07
阅读次数:
198
条件:MySQL版本:perconaserver5.5.18sql优化案例一:xxx@xx5.5.18-logcayenne11:30:37>descselectid,grant_credit_task_id,product_id,product_code,user_id,member_id,user_credit_money,product_credit_money,real_product_credit_money,credit_start_date,credit_end_d..
分类:
数据库 时间:
2014-10-21 19:49:56
阅读次数:
250
split函数的主要功能是把一个彩色图像分割成3个通道,方便进一步的图像处理,具体说明如下:split Divides a multi-channel array into several single-channel arrays.C++: void split(const Mat& mtx, M...
分类:
其他好文 时间:
2014-10-21 17:40:30
阅读次数:
332
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Solution:...
分类:
其他好文 时间:
2014-10-21 02:17:26
阅读次数:
157
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first
two lists.
/**
* Definition for singly-linked list.
* publ...
分类:
其他好文 时间:
2014-10-20 21:28:05
阅读次数:
233
在SQL Server中,我们所常见的表与表之间的Inner Join,Outer Join都会被执行引擎根据所选的列,数据上是否有索引,所选数据的选择性转化为Loop Join,Merge Join,Hash Join这三种物理连接中的一种。理解这三种物理连接是理解在表连接时解决性能问题的基础,下...
分类:
数据库 时间:
2014-10-20 16:42:19
阅读次数:
316
报错信息:You asked me to pull without telling me which branch youwant to merge with, and 'branch.v1.0.0.merge' inyour configuration file does not tell me,...
分类:
其他好文 时间:
2014-10-20 16:40:29
阅读次数:
211