Skip to content

Commit d258236

Browse files
authored
Update README.md
1 parent 173a54a commit d258236

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Add it in your root build.gradle at the end of repositories:
2727

2828
# How to use it
2929

30+
From Kotlin
31+
3032
In your activity or fragment
3133

3234
```
@@ -41,3 +43,16 @@ In your activity or fragment
4143
negativeButton()
4244
}
4345
```
46+
47+
From Java
48+
49+
```
50+
new RvDialog(this)
51+
.title("Title")
52+
.negativeButton()
53+
.listValues(items, (item, index) -> {
54+
tv.setText(item);
55+
return null;
56+
})
57+
.show();
58+
```

0 commit comments

Comments
 (0)