Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ditclear committed Jan 6, 2018
2 parents 21f5cdf + e215ea9 commit 55d2d44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,19 @@
- sample使用了DataBinding和kotlin 进行了多类型的绑定,对于了解和使用DataBinding大有益处,添加多种Type更是十分简单,再也不用extends RecyclerView.Adapter了,可以参考[BindingListAdapter](https://github.com/ditclear/BindingListAdapter)


###自定义属性
####自定义属性

| attr | type | default | meaning |
| --------------- | :-----: | ------: | :--------------: |
| need_offset | float | 0.2f | 最小需要滑动的距离 |
| ios | boolean | false | 拖动越界回弹效果 |
| swipe_enable | boolean | true | 开启滑动 |
| swipe_direction | int | 1 | 滑动方向,默认1是左滑,2为右滑 |
### 回调监听


####回调监听

```java
//滑动监听
public interface SwipeListener {

/**
Expand Down
Binary file modified screenshot/listview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 55d2d44

Please sign in to comment.