转载请注明出处王亟亟的大牛之路前两天写了一个上拉刷新的,今天看到个上下拉都可刷新还实现了foot 和header以及3种RecycleView样式的切换就给大家介绍下,先贴下foot部分因为实例中并没加入foot这部图片大小 没搞好
再贴一下2个刷新的效果因为作者是中国人,所以实现原理他写了一个很好的解释文章,这边就不罗嗦了看传送门:http://z.sye.space/2015/11/23/Re...
分类:
其他好文 时间:
2016-03-15 13:42:29
阅读次数:
303
<table border=1><tr><td width=300><a style="white-space:nowrap">中文</a><a style="white-space:nowrap">中文</a><a style="white-space:nowrap">中文</a><a style
分类:
Web程序 时间:
2016-03-14 16:30:41
阅读次数:
198
1. date: show current date and time. 2. cal: calendar. 3. df: to see the current amount of free space on your disk drives. 4. free: show the amount of
分类:
系统相关 时间:
2016-03-13 00:31:30
阅读次数:
206
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 原题链接:https://oj.leetcode.com/problems/l
分类:
其他好文 时间:
2016-03-12 10:19:37
阅读次数:
175
一、理论:
1.word-wrap:
a.normal 在半角空格或连字符的地方进行换行
b.break-word 不截断英文单词换行
2.word-break:
a.normal 中文到边界上的汉字换行,英文从整个单词换行
b.break-all 强行截断英文单词换行
c.keep-all 不允许字断开
3.while-space:
a.normal 默认值
b.pre 文本...
分类:
Web程序 时间:
2016-03-12 01:37:13
阅读次数:
247
题目描述: 请实现一个函数,将一个字符串中的空格替换成“%20”。例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。 分析: 看到这个题目,我们都会有一个比较直观的加法,那就是遍历字符串,每当遇到空格,就在当前位置插入“%20”,当前位置的字符往后移
分类:
其他好文 时间:
2016-03-11 22:21:26
阅读次数:
191
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word
分类:
其他好文 时间:
2016-03-11 18:48:14
阅读次数:
115
当导出的Word中带有图片时,我们可以创建一个带有图片的word模板,并将其保存成xml文档。此时我们能看到这样一段代码: <w:binData w:name="wordml://03000001.png" xml:space="preserve">iVBORw0KGgo...此处省略base64
分类:
其他好文 时间:
2016-03-11 11:39:19
阅读次数:
246
**1354 Mobile Computing** There is a mysterious planet called Yaen, whose space is 2-dimensional. There are many beautiful stones on the planet, and t
分类:
其他好文 时间:
2016-03-11 00:57:32
阅读次数:
359
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space
分类:
其他好文 时间:
2016-03-10 07:06:11
阅读次数:
192