@@ -16,7 +16,7 @@ https://github.com/LuckyJayce/MVCHelper/releases
16
16
## 1.必须导入: ##
17
17
18
18
//MVCHelper核心类库
19
- compile 'com.shizhefei:MVCHelper-Library:1.3.0 '
19
+ compile 'com.shizhefei:MVCHelper-Library:1.3.1 '
20
20
//里面有使用recyclerview,所以需要导入recyclerview
21
21
compile 'com.android.support:recyclerview-v7:24.0.0'
22
22
@@ -25,42 +25,42 @@ https://github.com/LuckyJayce/MVCHelper/releases
25
25
支持任意View的刷新 ,支持自定义Header,支持NestedScrollingParent,NestedScrollingChild的事件分发,嵌套ViewPager不会有事件冲突
26
26
27
27
//里面包含一个MVCCoolHelper 是适配这个控件的 MVCHelper
28
- compile 'com.shizhefei:MVCHelper-CoolRefresh:1.3.0 '
28
+ compile 'com.shizhefei:MVCHelper-CoolRefresh:1.3.1 '
29
29
compile 'com.shizhefei:CoolRefreshView:1.0.1'
30
30
compile 'com.android.support:support-v4:24.0.0'
31
31
32
32
<2> 使用 https://github.com/chrisbanes/Android-PullToRefresh 的刷新控件导入
33
33
34
34
//里面包含一个MVCPullrefshHelper 是适配这个控件的 MVCHelper
35
- compile 'com.shizhefei:MVCHelper-Pullrefresh:1.3.0 '
35
+ compile 'com.shizhefei:MVCHelper-Pullrefresh:1.3.1 '
36
36
//由于没有找到gradle排至,我自己把它上传到jcenter上
37
37
compile 'com.shizhefei:pulltorefresh:1.0.1'
38
38
39
39
<3> 使用 https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh 的刷新控件导入
40
40
41
41
//里面包含一个MVCUltraHelper 是适配这个控件的 MVCHelper
42
- compile 'com.shizhefei:MVCHelper-UltraRefresh:1.3.0 '
42
+ compile 'com.shizhefei:MVCHelper-UltraRefresh:1.3.1 '
43
43
//这里6月29号目前最新的,要实时关注新版本去秋大的网站上去看
44
44
compile 'in.srain.cube:ultra-ptr:1.0.11'
45
45
46
46
<4> 使用android v4的SwipeRefreshLayout的作为刷新控件导入
47
47
48
48
//里面包含一个MVCSwipeRefreshHelper 是适配这个控件的 MVCHelper
49
- compile 'com.shizhefei:MVCHelper-SwipeRefresh:1.3.0 '
49
+ compile 'com.shizhefei:MVCHelper-SwipeRefresh:1.3.1 '
50
50
//v4包应该都有导入吧,v7包里面包含v4包
51
51
compile 'com.android.support:support-v4:24.0.0'
52
52
53
53
<5> 测试用例,可以方便的查看MVCHelper,Task的运行情况和返回数据,还提供了修改接口字段,用于接口测试很方便哦
54
54
55
55
//MVCHelper的测试用例,继承ABSTestCaseFragment实现List<TestCaseData> getTestCaseDatas()方法
56
- compile 'com.shizhefei:MVCHelper-TestCase:1.3.0 '
56
+ compile 'com.shizhefei:MVCHelper-TestCase:1.3.1 '
57
57
//里面用到了gson
58
58
compile 'com.google.code.gson:gson:2.2.4'
59
59
60
60
<6> MVCHelper-OkHttp 对OKHttp的简单封装
61
61
62
62
//MVCHelper的 OKHttp的简单封装
63
- compile 'com.shizhefei:MVCHelper-OkHttp:1.3.0 '
63
+ compile 'com.shizhefei:MVCHelper-OkHttp:1.3.1 '
64
64
//里面用到了okhttp3
65
65
compile 'com.squareup.okhttp3:okhttp:3.4.0'
66
66
compile 'com.squareup.okio:okio:1.9.0'
@@ -74,7 +74,7 @@ https://github.com/LuckyJayce/MVCHelper/releases
74
74
导入方式
75
75
76
76
//MVCHelper的 Task操作集合
77
- compile 'com.shizhefei:MVCHelper-Tasks:1.3.0 '
77
+ compile 'com.shizhefei:MVCHelper-Tasks:1.3.1 '
78
78
79
79
## 结构
80
80
![ image] ( raw/MVC.png )
0 commit comments