Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
whalemare committed Jun 10, 2017
2 parents 192379b + 02fda78 commit 7bc4c3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -15,6 +15,7 @@ Use it in Kotlin with `apply` extension
titleId = R.string.title
click = MenuItem.OnMenuItemClickListener { true }
menu = R.menu.menu
autoCancel = false
}.show(this)
```

Expand All @@ -24,6 +25,7 @@ or in Java with `Builder` pattern
SheetMenu.with(this)
.setTitle(R.string.title)
.setMenu(R.menu.menu)
.setAutoCancel(false)
.setClick(new MenuItem.OnMenuItemClickListener() {
@Override
public boolean onMenuItemClick(MenuItem item) {
Expand All @@ -49,7 +51,7 @@ allprojects {
Include dependency with `BottomSheet` in your app.gradle file with:

```groovy
compile 'com.github.whalemare:sheetmenu:v1.1'
compile 'com.github.whalemare:sheetmenu:1.2'
```


Expand Down

0 comments on commit 7bc4c3b

Please sign in to comment.