File tree 4 files changed +19
-3
lines changed
src/main/java/zlc/season/practicalrecyclerview
4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 46
46
![ manual] ( https://github.com/ssseasonnn/PracticalRecyclerView/blob/master/gif/manual.gif?raw=true )
47
47
48
48
49
+ ### 2016-10-17 更新:
50
+
51
+ - 增加获取RecyclerView接口
52
+
53
+ ``` java
54
+ public RecyclerView get() {
55
+ return mRecyclerView;
56
+ }
57
+ ```
58
+
59
+
60
+
49
61
### 使用方式:
50
62
51
63
1.添加Gradle依赖
52
64
53
65
``` groovy
54
66
dependencies{
55
- compile 'compile ' zlc.season:practicalrecyclerview:1.0.3 '
67
+ compile 'zlc.season:practicalrecyclerview:1.0.4 '
56
68
}
57
69
```
58
70
2.在布局文件中添加PracticalRecyclerView
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:2.2.0 '
8
+ classpath ' com.android.tools.build:gradle:2.2.1 '
9
9
classpath ' com.neenbedankt.gradle.plugins:android-apt:1.8'
10
10
classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
11
11
classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.github.dcendents.android-maven'
2
2
apply plugin : ' com.jfrog.bintray'
3
3
4
4
// This is the library version used when deploying the artifact
5
- version = " 1.0.3 "
5
+ version = " 1.0.4 "
6
6
7
7
def siteUrl = ' https://github.com/ssseasonnn/PracticalRecyclerView' // 项目的主页
8
8
def gitUrl = ' https://github.com/ssseasonnn/PracticalRecyclerView.git' // Git仓库的url
Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ public void configureView(Configure configure) {
97
97
configure .configureLoadMoreFailedView (mLoadMoreFailedView );
98
98
}
99
99
100
+ public RecyclerView get () {
101
+ return mRecyclerView ;
102
+ }
103
+
100
104
public void setRefreshListener (OnRefreshListener refreshListener ) {
101
105
if (refreshListener == null ) return ;
102
106
mSwipeRefreshLayout .setEnabled (true );
You can’t perform that action at this time.
0 commit comments