Skip to content

Commit 55d2d44

Browse files
author
ditclear
committed
update readme
2 parents 21f5cdf + e215ea9 commit 55d2d44

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,19 @@
2121
- sample使用了DataBinding和kotlin 进行了多类型的绑定,对于了解和使用DataBinding大有益处,添加多种Type更是十分简单,再也不用extends RecyclerView.Adapter了,可以参考[BindingListAdapter](https://github.com/ditclear/BindingListAdapter)
2222

2323

24-
###自定义属性
24+
####自定义属性
2525

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

3436
```java
35-
//滑动监听
3637
public interface SwipeListener {
3738

3839
/**

screenshot/listview.gif

-452 KB
Loading

0 commit comments

Comments
 (0)