Skip to content

Commit a2d00cc

Browse files
committed
更新文档
1 parent de679f3 commit a2d00cc

13 files changed

+39
-30
lines changed

README.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -38,65 +38,65 @@ github 由于你懂的原因,下载速度缓慢,图片也无法查看,可
3838

3939
## 传送门
4040

41-
- [属性文档](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_property.md)
42-
- [常见问题](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_faq.md)
43-
- [智能之处](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_smart.md)
44-
- [更新日志](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_update.md)
41+
- [属性文档](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_property.md)
42+
- [常见问题](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_faq.md)
43+
- [智能之处](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_smart.md)
44+
- [更新日志](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_update.md)
4545
- [博客文章](https://segmentfault.com/a/1190000010066071)
4646
- [源码下载](https://github.com/scwang90/SmartRefreshLayout/releases)
47-
- [多点触摸](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_multitouch.md)
48-
- [自定义Header](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_custom.md)
47+
- [多点触摸](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_multitouch.md)
48+
- [自定义Header](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_custom.md)
4949

5050
## Demo
51-
[下载 APK-Demo](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/app-debug.apk)
51+
[下载 APK-Demo](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/app-debug.apk)
5252

53-
![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/png_apk_rqcode.png)
53+
![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/png_apk_rqcode.png)
5454

5555
#### 项目演示
5656
|个人首页|微博列表|
5757
|:---:|:---:|
58-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_practive_weibo.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_practive_feedlist.gif)|
58+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_practive_weibo_1.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_practive_feedlist_1.gif)|
5959

6060
|餐饮美食|个人中心|
6161
|:---:|:---:|
62-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_practive_repast.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_practive_profile.gif)|
62+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_practive_repast_1.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_practive_profile_1.gif)|
6363

6464
#### 样式演示 Style
6565
|Delivery|DropBox|
6666
|:---:|:---:|
67-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_Delivery.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_Dropbox.gif)|
67+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_Delivery.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_Dropbox.gif)|
6868
|[Refresh-your-delivery](https://dribbble.com/shots/2753803-Refresh-your-delivery)|[Dropbox-Refresh](https://dribbble.com/shots/3470499-DropBox-Refresh)|
6969

7070
上面这两个是我自己实现的,下面的是我把github上其它优秀的Header进行的整理和集合还有优化:
7171

7272
|BezierRadar|BezierCircle|
7373
|:---:|:---:|
74-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_BezierRadar.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_BezierCircle.gif)|
74+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_BezierRadar.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_BezierCircle.gif)|
7575
|[Pull To Refresh](https://dribbble.com/shots/1936194-Pull-To-Refresh)|[Pull Down To Refresh](https://dribbble.com/shots/1797373-Pull-Down-To-Refresh)|
7676

7777
|FlyRefresh|Classics|
7878
|:---:|:---:|
79-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_FlyRefresh.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_Classics.gif)|
79+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_FlyRefresh.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_Classics.gif)|
8080
|[FlyRefresh](https://github.com/race604/FlyRefresh)|[ClassicsHeader](#1)|
8181

8282
|Phoenix|Taurus|
8383
|:---:|:---:|
84-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_Phoenix.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_Taurus.gif)|
84+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_Phoenix.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_Taurus.gif)|
8585
|[Yalantis/Phoenix](https://github.com/Yalantis/Phoenix)|[Yalantis/Taurus](https://github.com/Yalantis/Taurus)
8686

8787
|BattleCity|HitBlock|
8888
|:---:|:---:|
89-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_BattleCity.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_HitBlock.gif)|
89+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_BattleCity_1.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_HitBlock_1.gif)|
9090
|[FunGame/BattleCity](https://github.com/Hitomis/FunGameRefresh)|[FunGame/HitBlock](https://github.com/Hitomis/FunGameRefresh)
9191

9292
|WaveSwipe|Material|
9393
|:---:|:---:|
94-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_WaveSwipe.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_Material.gif)|
94+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_WaveSwipe.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_Material.gif)|
9595
|[WaveSwipeRefreshLayout](https://github.com/recruit-lifestyle/WaveSwipeRefreshLayout)|[MaterialHeader](https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html)
9696

9797
|StoreHouse|WaterDrop|
9898
|:---:|:---:|
99-
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_StoreHouse.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/gif_WaterDrop.gif)|
99+
|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_StoreHouse.gif)|![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/gif_WaterDrop.gif)|
100100
|[CRefreshLayout](https://github.com/cloay/CRefreshLayout)|[WaterDrop](https://github.com/THEONE10211024/WaterDropListView)
101101

102102

@@ -263,7 +263,7 @@ public class App extends Application {
263263

264264
注意:方法二 XML设置的Header和Footer的优先级是中等的,会被方法三覆盖。而且使用本方法的时候,Android Studio 会有预览效果,如下图:
265265

266-
![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/jpg_preview_xml_define.jpg)
266+
![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/jpg_preview_xml_define.jpg)
267267

268268
不过不用担心,只是预览效果,运行的时候只有下拉才会出现~
269269

@@ -278,9 +278,9 @@ refreshLayout.setRefreshFooter(new BallPulseFooter(this).setSpinnerStyle(Spinner
278278

279279
#### 4.更多使用说明
280280

281-
- [属性文档](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_property.md)
282-
- [常见问题](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_faq.md)
283-
- [自定义Header](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_custom.md)
281+
- [属性文档](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_property.md)
282+
- [常见问题](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_faq.md)
283+
- [自定义Header](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_custom.md)
284284

285285
## 混淆
286286

@@ -291,12 +291,12 @@ SmartRefreshLayout 不需要添加混淆过滤代码,并且已经混淆测试
291291
如果你喜欢 SmartRefreshLayout 的设计,感觉 SmartRefreshLayout 帮助到了你,可以点右上角 "Star" 支持一下 谢谢! ^_^
292292
你也还可以扫描下面的二维码~ 请作者喝一杯咖啡。
293293

294-
![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/pay_alipay.jpg?raw=true) ![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/pay_wxpay.jpg?raw=true) ![](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/pay_tencent.jpg?raw=true)
294+
![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/pay_alipay.jpg?raw=true) ![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/pay_wxpay.jpg?raw=true) ![](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/pay_tencent.jpg?raw=true)
295295

296296
> 如果希望捐赠之后能获得相关的帮助,可以选择加入下面的付费群来取代普通捐赠,付费群可以直接获得作者的直接帮助,与问题反馈。
297297
298298
如果在捐赠留言中备注名称,将会被记录到列表中~ 如果你也是github开源作者,捐赠时可以留下github项目地址或者个人主页地址,链接将会被添加到列表中起到互相推广的作用
299-
[捐赠列表](https://gitee.com/scwang90/SmartRefreshLayout/raw/V1.0.5/art/md_donationlist.md)
299+
[捐赠列表](https://gitee.com/scwang90/SmartRefreshLayout/raw/art/art/md_donationlist.md)
300300

301301
#### 友情链接
302302
[github/Loror](https://github.com/Loror)

app/src/main/java/com/scwang/refreshlayout/fragment/index/RefreshStylesFragment.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ public void onStateChanged(@NonNull RefreshLayout refreshLayout, @NonNull Refres
167167
} else if (oldState == RefreshState.RefreshFinish) {
168168
RefreshHeader refreshHeader = refreshLayout.getRefreshHeader();
169169
if (refreshHeader instanceof RefreshHeaderWrapper) {
170-
refreshLayout.setRefreshHeader(new PhoenixHeader(getContext()), ViewGroup.LayoutParams.MATCH_PARENT, SmartUtil.dp2px(200));
170+
refreshLayout.setRefreshHeader(new PhoenixHeader(getContext()), ViewGroup.LayoutParams.MATCH_PARENT, SmartUtil.dp2px(100));
171171
} else if (refreshHeader instanceof PhoenixHeader) {
172-
refreshLayout.setRefreshHeader(new DropBoxHeader(getContext()), ViewGroup.LayoutParams.MATCH_PARENT, SmartUtil.dp2px(300));
172+
refreshLayout.setRefreshHeader(new DropBoxHeader(getContext()), ViewGroup.LayoutParams.MATCH_PARENT, SmartUtil.dp2px(150));
173173
} else if (refreshHeader instanceof DropBoxHeader) {
174174
refreshLayout.setRefreshHeader(new FunGameHitBlockHeader(getContext()));
175175
} else if (refreshHeader instanceof FunGameHitBlockHeader) {

art/gif_BattleCity_1.gif

894 KB
Loading

art/gif_HitBlock_1.gif

816 KB
Loading

art/gif_practive_feedlist_1.gif

966 KB
Loading

art/gif_practive_profile_1.gif

458 KB
Loading

art/gif_practive_repast_1.gif

890 KB
Loading

art/gif_practive_weibo_1.gif

995 KB
Loading

art/md_donationlist.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
|昵称|日期|方式|留言|友情连接|
66
|:---:|:---:|:---:|:---:|:---:|
7+
|[pay_join]|2020-7-30|腾讯|👍~||
8+
|[pay_join]|2020-7-28|腾讯|👍~||
9+
|[pay_join]|2020-7-15|腾讯|👍~||
10+
|Anonymous|2020-7-14|腾讯|👍~||
11+
|[pay_join]|2020-7-12|腾讯|👍~||
12+
|**|2020-7-9|阿里|感谢作者。|👍👍👍|
13+
|[pay_join]|2020-7-8|腾讯|👍~||
14+
|**|2020-7-6|阿里|小小心意不成敬意!|👍|
15+
|[pay_join]|2020-7-2|腾讯|👍~||
16+
|[pay_join]|2020-6-29|腾讯|👍~||
717
|[pay_join]|2020-6-28|腾讯|👍~||
818
|**|2020-6-28|阿里|👍👍👍👍👍👍👍|[github/afKT/DevUtils](https://github.com/afKT/DevUtils)|
919
|[pay_join]|2020-6-25|腾讯|👍~||
@@ -40,12 +50,12 @@
4050
|*|2019-10-2|阿里|👍||
4151
|[pay_join]|2019-12-25|腾讯|👍~||
4252
|[pay_join]|2019-12-10|腾讯|👍~||
43-
|[pay_join]|2019-12-9|腾讯|👍~||
44-
|[pay_join]|2019-12-6|腾讯|👍~||
45-
|[pay_join]|2019-12-5|腾讯|👍~||
53+
|[pay_join]|2019-12-9|腾讯|👍||
54+
|[pay_join]|2019-12-6|腾讯|👍||
55+
|[pay_join]|2019-12-5|腾讯|👍||
4656
|[pay_join]|2019-12-4|腾讯|👍||
4757
|[未留名]|2019-11-20|微信|~~||
48-
|[未留名]|2019-11-20|微信|||
58+
|[未留名]|2019-11-20|微信|~~~||
4959
|*光滋|2019-11-19|阿里|👍👍||
5060
|[pay_join]|2019-11-14|腾讯|👍||
5161
|[pay_join]|2019-11-12|腾讯|👍||

art/pay_alipay.jpg

35.5 KB
Loading

art/pay_tencent.jpg

49.7 KB
Loading

art/pay_wxpay.jpg

39.1 KB
Loading

refresh-header/src/main/java/com/scwang/smart/refresh/header/FunGameBattleCityHeader.java

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
/**
2121
* Created by scwang on 2018/3/09.
22-
2322
* from https://github.com/Hitomis/FunGameRefresh
2423
*/
2524
public class FunGameBattleCityHeader extends FunGameView {

0 commit comments

Comments
 (0)