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
marcoscgdev committed Feb 15, 2019
2 parents 4b0eae1 + 1d62cfe commit 05b8153
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ An Android library to create fully material designed bottom dialogs similar to t

## Releases:

#### Current release: 2.0.1.
#### Current release: 2.0.2.

You can see all the library releases [here](https://github.com/marcoscgdev/DialogSheet/releases).

Expand Down Expand Up @@ -38,7 +38,7 @@ allprojects {
Now add the dependency to your app build.gradle file:

```
implementation 'com.github.marcoscgdev:DialogSheet:2.0.1'
implementation 'com.github.marcoscgdev:DialogSheet:2.0.2'
```

### Creating the dialog with Java
Expand All @@ -49,6 +49,7 @@ Here is a complete snippet of it usage:
new DialogSheet(this)
.setTitle(R.string.app_name)
.setMessage(R.string.lorem)
.setColoredNavigationBar(true)
.setCancelable(false)
.setPositiveButton(android.R.string.ok, new DialogSheet.OnPositiveClickListener() {
@Override
Expand All @@ -73,9 +74,9 @@ Here is a complete snippet of it usage:

```java
val dialogSheet:DialogSheet = DialogSheet(this@MainActivity)
dialogSheet.setCancelable(false)
.setTitle(R.string.app_name)
.setMessage(R.string.lorem)
.setColoredNavigationBar(true)
.setCancelable(false)
.setPositiveButton(android.R.string.ok) {
// Your action
Expand Down

0 comments on commit 05b8153

Please sign in to comment.