Skip to content

Commit 5b66acc

Browse files
committed
修改注释,删除无用代码
1 parent 7b36a8a commit 5b66acc

File tree

5 files changed

+3
-10
lines changed

5 files changed

+3
-10
lines changed

appbarlayoutbehavior/src/main/java/com/yuruiyin/appbarlayoutbehavior/AppBarLayoutBehavior.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ private Field getScrollerField() throws NoSuchFieldException {
9292
private void stopAppbarLayoutFling(AppBarLayout appBarLayout) {
9393
//通过反射拿到HeaderBehavior中的flingRunnable变量
9494
try {
95-
Class<?> headerBehaviorType = this.getClass().getSuperclass().getSuperclass().getSuperclass();
9695
Field flingRunnableField = getFlingRunnableField();
9796
Field scrollerField = getScrollerField();
9897
flingRunnableField.setAccessible(true);

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ dependencies {
3838
implementation 'com.jakewharton:butterknife:8.8.1'
3939
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
4040

41-
// implementation project(':appbarlayoutbehavior')
41+
implementation project(':appbarlayoutbehavior')
4242

43-
implementation 'com.github.yuruiyin:AppbarLayoutBehavior:v1.0.2'
43+
// implementation 'com.github.yuruiyin:AppbarLayoutBehavior:v1.0.2'
4444

4545
}
4646

sample/src/main/java/com/yuruiyin/sample/MyListFragment.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
/**
2323
* <p>Title: </p>
2424
* <p>Description: </p>
25-
* <p>Copyright: Copyright (c) 2017</p>
26-
* <P>Company: 17173</p>
2725
*
2826
* @author yuruiyin
2927
* @version 2018/7/16

sample/src/main/java/com/yuruiyin/sample/adapter/RecyclerViewAdapter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
/**
1919
* <p>Title: </p>
2020
* <p>Description: </p>
21-
* <p>Copyright: Copyright (c) 2017</p>
22-
* <P>Company: 17173</p>
2321
*
2422
* @author yuruiyin
2523
* @version 2018/7/16

sample/src/main/java/com/yuruiyin/sample/divider/ItemSmallDecoration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
/**
1414
* <p>Title: </p>
1515
* <p>Description: </p>
16-
* <p>Copyright: Copyright (c) 2017</p>
17-
* <P>Company: 17173</p>
1816
*
19-
* @author liangbx
17+
* @author yuruiyin
2018
* @version 2017/7/4
2119
*/
2220

0 commit comments

Comments
 (0)