GeezerVison is showing github.com — 完成自主开发的DropboxHeader · StandOpen/SmartRefreshLayout@c578ec9
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
76 | 76 | ## 简单用例 |
77 | 77 | #### 1.在 buld.gradle 中添加依赖 |
78 | 78 | ``` |
79 | | -compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.0' |
80 | | -compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.0'//如果使用了特殊的Header |
| 79 | +compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.1' |
| 80 | +compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.1'//如果使用了特殊的Header |
81 | 81 | ``` |
82 | 82 |
|
83 | 83 | #### 2.在XML布局文件中添加 SmartRefreshLayout |
|
Collapse file
Copy file name to clipboardExpand all lines: app/build.gradle +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -26,6 +26,9 @@ android { |
26 | 26 | // sourceCompatibility JavaVersion.VERSION_1_8 |
27 | 27 | // targetCompatibility JavaVersion.VERSION_1_8 |
28 | 28 | // } |
| 29 | + lintOptions { |
| 30 | + abortOnError false |
| 31 | + } |
29 | 32 | } |
30 | 33 |
|
31 | 34 | dependencies { |
|
Collapse file
Copy file name to clipboard +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +V 1.0.0 |
| 2 | +添加:DeliveryHeader,DropboxHeader |
1 | 3 | V 1.0.1 |
2 | 4 | 添加:srlEnableAutoLoadmore 属性 |
3 | 5 | 修改:srlExtendHeaderRate 属性为:srlHeaderMaxDragRate |
4 | 6 | 修改:srlExtendFooterRate 属性为:srlFooterMaxDragRate |
| 7 | +修复:DeliveryHeader,DropboxHeader 在API-21以下崩溃的问题 |
Collapse file
Copy file name to clipboardExpand all lines: refresh-header/build.gradle +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -42,7 +42,7 @@ publish { |
42 | 42 | userOrg = 'scwang90' |
43 | 43 | groupId = 'com.scwang.smartrefresh' |
44 | 44 | artifactId = 'SmartRefreshHeader' |
45 | | - version = '1.0.0' |
| 45 | + version = '1.0.1' |
46 | 46 | description = 'Some delicate headers of SmartRefreshLayout' |
47 | 47 | website = "https://github.com/scwang90/${rootProject.name}" |
48 | 48 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: refresh-layout/build.gradle +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -42,7 +42,7 @@ publish { |
42 | 42 | userOrg = 'scwang90' |
43 | 43 | groupId = 'com.scwang.smartrefresh' |
44 | 44 | artifactId = 'SmartRefreshLayout' |
45 | | - version = '1.0.0' |
| 45 | + version = '1.0.1' |
46 | 46 | description = 'An intelligent refresh layout' |
47 | 47 | website = "https://github.com/scwang90/${rootProject.name}" |
48 | 48 | } |
|