Skip to content

Commit 9f5cdef

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents cb1ace4 + dc04b2e commit 9f5cdef

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Readme.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22
A android color picker library
33
Easy to use and it have a features to save last some colors.
44

5+
### How to
6+
#### add to repositories
7+
```
8+
maven { url 'https://jitpack.io' }
9+
```
10+
#### add dependencies build.gradle(module)
11+
```
12+
implementation 'com.github.ab44gl:ColorPicker-Android:2.0'
13+
```
14+
#### to show dialog
15+
```kotlin
16+
val dialog = ColorPickerDialog()
17+
dialog.setOnOkCancelListener { isOk, color ->
18+
//do with color
19+
}
20+
dialog.show(supportFragmentManager)
21+
```
22+
523
#### Here is an example images:
624

725
| Example 1 | Example 2 |

0 commit comments

Comments
 (0)