We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21f5cdf + e215ea9 commit 55d2d44Copy full SHA for 55d2d44
2 files changed
README.md
@@ -21,18 +21,19 @@
21
- sample使用了DataBinding和kotlin 进行了多类型的绑定,对于了解和使用DataBinding大有益处,添加多种Type更是十分简单,再也不用extends RecyclerView.Adapter了,可以参考[BindingListAdapter](https://github.com/ditclear/BindingListAdapter)
22
23
24
-###自定义属性
+####自定义属性
25
26
| attr | type | default | meaning |
27
| --------------- | :-----: | ------: | :--------------: |
28
| need_offset | float | 0.2f | 最小需要滑动的距离 |
29
| ios | boolean | false | 拖动越界回弹效果 |
30
| swipe_enable | boolean | true | 开启滑动 |
31
| swipe_direction | int | 1 | 滑动方向,默认1是左滑,2为右滑 |
32
-### 回调监听
+
33
34
+####回调监听
35
36
```java
- //滑动监听
37
public interface SwipeListener {
38
39
/**
screenshot/listview.gif
-452 KB
0 commit comments