|
2 | 2 |
|
3 | 3 | ###TaskHelper主要用于执行多个任务,通过回调ICallback更新UI
|
4 | 4 |
|
5 |
| -Download Library [JAR](https://github.com/LuckyJayce/MVCHelper/releases/download/1.0.2/LuckyJayce_MVCHelper_1.0.2.zip) |
| 5 | +Download Library [JAR](https://github.com/LuckyJayce/MVCHelper/releases/download/1.0.7/LuckyJayce_MVCHelper_1.0.7.zip) |
6 | 6 | Download sample [Apk](https://github.com/LuckyJayce/MVCHelper/blob/master/raw/MVCHelper_Demo.apk?raw=true)
|
7 | 7 |
|
8 | 8 | # Gradle导入 #
|
9 | 9 | ## 1.必须导入: ##
|
10 | 10 |
|
11 | 11 | //MVCHelper核心类库
|
12 |
| - compile 'com.shizhefei:MVCHelper-Library:1.0.6' |
| 12 | + compile 'com.shizhefei:MVCHelper-Library:1.0.7' |
13 | 13 | //里面有使用recyclerview,所以需要导入recyclerview
|
14 | 14 | compile 'com.android.support:recyclerview-v7:24.0.0'
|
15 | 15 |
|
16 | 16 | ## 2.可选: ##
|
17 | 17 | <1> 使用 https://github.com/chrisbanes/Android-PullToRefresh 的刷新控件导入
|
18 | 18 |
|
19 | 19 | //里面包含一个MVCPullrefshHelper 是适配这个控件的 MVCHelper
|
20 |
| - compile 'com.shizhefei:MVCHelper-Pullrefresh:1.0.6' |
| 20 | + compile 'com.shizhefei:MVCHelper-Pullrefresh:1.0.7' |
21 | 21 | //由于没有找到gradle排至,我自己把它上传到jcenter上
|
22 | 22 | compile 'com.shizhefei:pulltorefresh:1.0.1'
|
23 | 23 |
|
24 | 24 | <2> 使用 https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh 的刷新控件导入
|
25 | 25 |
|
26 | 26 | //里面包含一个MVCUltraHelper 是适配这个控件的 MVCHelper
|
27 |
| - compile 'com.shizhefei:MVCHelper-UltraRefresh:1.0.6' |
| 27 | + compile 'com.shizhefei:MVCHelper-UltraRefresh:1.0.7' |
28 | 28 | //这里6月29号目前最新的,要实时关注新版本去秋大的网站上去看
|
29 | 29 | compile 'in.srain.cube:ultra-ptr:1.0.11'
|
30 | 30 |
|
31 | 31 | <3> 使用android v4的SwipeRefreshLayout的作为刷新控件导入
|
32 | 32 |
|
33 | 33 | //里面包含一个MVCSwipeRefreshHelper 是适配这个控件的 MVCHelper
|
34 |
| - compile 'com.shizhefei:MVCHelper-SwipeRefresh:1.0.6' |
| 34 | + compile 'com.shizhefei:MVCHelper-SwipeRefresh:1.0.7' |
35 | 35 | //v4包应该都有导入吧,v7包里面包含v4包
|
36 | 36 | compile 'com.android.support:support-v4:24.0.0'
|
37 | 37 |
|
38 | 38 | <4> 测试用例,可以方便的查看MVCHelper,Task的运行情况和返回数据,还提供了修改接口字段,用于接口测试很方便哦
|
39 | 39 |
|
40 | 40 | //MVCHelper的测试用例,继承ABSTestCaseFragment实现List<TestCaseData> getTestCaseDatas()方法
|
41 |
| - compile 'com.shizhefei:MVCHelper-TestCase:1.0.6' |
| 41 | + compile 'com.shizhefei:MVCHelper-TestCase:1.0.7' |
42 | 42 | //里面用到了gson
|
43 | 43 | compile 'com.google.code.gson:gson:2.2.4'
|
44 | 44 |
|
45 | 45 | <5> MVCHelper-OkHttp 对OKHttp的简单封装
|
46 | 46 |
|
47 | 47 | //MVCHelper的 OKHttp的简单封装
|
48 |
| - compile 'com.shizhefei:MVCHelper-OkHttp:1.0.6' |
| 48 | + compile 'com.shizhefei:MVCHelper-OkHttp:1.0.7' |
49 | 49 | //里面用到了okhttp3
|
50 | 50 | compile 'com.squareup.okhttp3:okhttp:3.4.0'
|
51 | 51 | compile 'com.squareup.okio:okio:1.9.0'
|
|
0 commit comments