Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
update to 2.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
leochuan committed Mar 2, 2018
1 parent baae120 commit 7146c34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ new CenterSnapHelper().attachToRecyclerView(recyclerView);
layoutmanager.setMaxVisibleItemCount(count);
```

## Get Position Of Center Item
```java
layoutmanager.getCurrentPosition()
```

## Auto Play

You can make it auto play by using `AutoPlayRecyclerView`
Expand Down
5 changes: 5 additions & 0 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ new CenterSnapHelper().attachToRecyclerView(recyclerView);
layoutmanager.setMaxVisibleItemCount(count);
```

## 获取中间item的位置
```java
layoutmanager.getCurrentPosition()
``

## 自动轮播

请使用 `AutoPlayRecyclerView`
Expand Down
2 changes: 1 addition & 1 deletion viewpagerlayoutmanager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {

apply plugin: 'maven'

def currentVersion = '2.0.12'
def currentVersion = '2.0.13'
def versionDes = 'Fix bugs'
def websiteUrl = 'https://github.com/leochuan/ViewPagerLayoutManager'
def date = new Date()
Expand Down

0 comments on commit 7146c34

Please sign in to comment.