Skip to content

Commit d1dd272

Browse files
authored
Update README.md
1 parent 51c424e commit d1dd272

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ Demo, I ContentItem is a TextView, then I'm in the outside its nested controls,
130130
131131
```
132132

133+
**One Tips**
134+
If it is used in the ListView, RecyclerView, click event Settings should be correct in the Adapter for ContentItem Settings, cannot use ListView. SetOnItemClickListener.
135+
When the Item is control, not the ContentItem inside the area, and there are a lot of touch judge the control area, internal contain ContentItem and sideslip Menu Menu.
133136

134137

135138
---
@@ -150,7 +153,7 @@ One:xml:
150153
app:swipeEnable="true">
151154
```
152155

153-
Other: java代码
156+
Other: java Codes
154157
```java
155158
//这句话关掉IOS阻塞式交互效果 并依次打开左滑右滑 禁用掉侧滑菜单
156159
((SwipeMenuLayout) holder.itemView).setIos(false).setLeftSwipe(position % 2 == 0 ? true : false).setSwipeEnable(false);

0 commit comments

Comments
 (0)