Skip to content

Commit 7b97298

Browse files
committed
1.Update README.md
1 parent b24c5fa commit 7b97298

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

README-ZH.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ PageRecyclerView实现翻页功能及无限轮播。
1717
### 添加依赖:
1818
```
1919
dependencies {
20-
implementation 'ckrjfrog.Page:PageView:1.1.2'//gradle plugin 3.0(包含)以上使用
21-
//compile 'ckrjfrog.Page:PageView:1.1.2'//gradle plugin 3.0一下使用
20+
implementation 'ckrjfrog.Page:PageView:1.1.3'//gradle plugin 3.0(包含)以上使用
21+
//compile 'ckrjfrog.Page:PageView:1.1.3'//gradle plugin 3.0一下使用
2222
}
2323
```
2424

@@ -36,6 +36,8 @@ PageRecyclerView实现翻页功能及无限轮播。
3636
app:indicator_group_marginBottom="10dp"
3737
app:indicator_group_marginRight="10dp"
3838
app:indicator_margin="@dimen/viewpager_indicator_margin"
39+
app:clipToPadding="false"
40+
app:pagePadding="@dimen/page_padding"
3941
app:layout_flag="grid"
4042
app:orientation="horizontal"
4143
app:overlap_layout="true"
@@ -63,6 +65,8 @@ PageRecyclerView实现翻页功能及无限轮播。
6365
| indicator_group_marginRight  | 指示器组的marginRight | int | 0 |
6466
| indicator_group_marginBottom | 指示器组的marginBottom | int | 0 |
6567
| indicator_margin | 指示器间的间距 | int | 15 |
68+
| clipToPadding | recyclerView的clipTopadding设置 | int | 15 |
69+
| pagePadding | recyclerView的左右padding设置 | int | 15 |
6670
| layout_flag | 标记线性布局或网格布局 | int     | 0(线性) |
6771
| orientation | 布局方向 | int | 0(horizontal) |
6872
| overlap_layout | 指示器容器是否遮住PageRecyclerView | boolean | false |
@@ -83,6 +87,11 @@ PageRecyclerView实现翻页功能及无限轮播。
8387
   pageView.updateAll(items);//更新数据
8488
```
8589
## 版本更新
90+
* **1.1.1-release**
91+
* 修复:快速滑动,指示器没有及时更新的问题
92+
* 修复:当引用android O 的recyclerview时,setCurrentItem(1,false)不起效问题
93+
* 添加:clipToPadding和pagePadding的配置
94+
8695
* **1.1.0-release**
8796
* 添加:指示器容器的对齐方式、margin设置、背景设置和overlap布局样式
8897
* 其他:优化代码

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ PageRecyclerView achieves page turning function and unlimited carousel [中文
1717
### add dependencies:
1818
```
1919
dependencies {
20-
implementation 'ckrjfrog.Page:PageView:1.1.2'//gradle plugin 3.0(inclusive) above used
21-
//compile 'ckrjfrog.Page:PageView:1.1.2'//gradle plugin 3.0 below used
20+
implementation 'ckrjfrog.Page:PageView:1.1.3'//gradle plugin 3.0(inclusive) above used
21+
//compile 'ckrjfrog.Page:PageView:1.1.3'//gradle plugin 3.0 below used
2222
}
2323
```
2424

@@ -36,6 +36,8 @@ PageRecyclerView achieves page turning function and unlimited carousel [中文
3636
app:indicator_group_marginBottom="10dp"
3737
app:indicator_group_marginRight="10dp"
3838
app:indicator_margin="@dimen/viewpager_indicator_margin"
39+
app:clipToPadding="false"
40+
app:pagePadding="@dimen/page_padding"
3941
app:layout_flag="grid"
4042
app:orientation="horizontal"
4143
app:overlap_layout="true"
@@ -63,6 +65,8 @@ PageRecyclerView achieves page turning function and unlimited carousel [中文
6365
| indicator_group_marginRight  | the marginRight of indicator group | int | 0 |
6466
| indicator_group_marginBottom | the marginBottom of indicator group | int | 0 |
6567
| indicator_margin | indicator spacing | int | 15 |
68+
| clipToPadding | the clipTopadding of recyclerView | int | 15 |
69+
| pagePadding | recyclerView.setPadding(pagePadding,0,pagePading,0) | int | 15 |
6670
| layout_flag | mark linear layout or grid layout | int     | 0(linear layout) |
6771
| orientation | layout orientation | int | 0(horizontal) |
6872
| overlap_layout | Whether the indicator overlaps the page | boolean | false |
@@ -83,6 +87,11 @@ PageRecyclerView achieves page turning function and unlimited carousel [中文
8387
   pageView.updateAll(items);
8488
```
8589
## Version Tracking
90+
* **1.1.1-release**
91+
* repair: When fast sliding,the indicators don't update in time
92+
* repair: When compiling Android O's recyclerView,the method of setCurrentItem(1,false) doesn't work
93+
* add: clipToPadding and pagePadding Settings
94+
8695
* **1.1.0-release**
8796
* add: the indicator container alignment, margin Settings, background Settings, and overlap layout styles
8897
* other: optimize the code

0 commit comments

Comments
 (0)