File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Use it in Kotlin with `apply` extension
1515 titleId = R .string.title
1616 click = MenuItem .OnMenuItemClickListener { true }
1717 menu = R .menu.menu
18+ autoCancel = false
1819 }.show(this )
1920```
2021
@@ -24,6 +25,7 @@ or in Java with `Builder` pattern
2425 SheetMenu . with(this )
2526 .setTitle(R . string. title)
2627 .setMenu(R . menu. menu)
28+ .setAutoCancel(false )
2729 .setClick(new MenuItem .OnMenuItemClickListener () {
2830 @Override
2931 public boolean onMenuItemClick (MenuItem item ) {
@@ -49,7 +51,7 @@ allprojects {
4951Include dependency with ` BottomSheet ` in your app.gradle file with:
5052
5153``` groovy
52- compile 'com.github.whalemare:sheetmenu:v1.1 '
54+ compile 'com.github.whalemare:sheetmenu:1.2 '
5355```
5456
5557
You can’t perform that action at this time.
0 commit comments