diff --git a/README.md b/README.md
index a30faf7..bac3593 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,9 @@ Also supports input from keyboard, checks and validations for date and time.
-![](./sample.gif)
+
+
+
@@ -65,7 +67,6 @@ implementation 'com.github.Mobile-Innowise-Group:DateTime-Reel-Picker:{latest ve
**LocalTime:**
-
| Method | What it does |
|-------------|-------------|
@@ -82,7 +83,6 @@ implementation 'com.github.Mobile-Innowise-Group:DateTime-Reel-Picker:{latest ve
**LocalDate:**
-
| Method | What it does |
|------------|--------------|
@@ -102,7 +102,6 @@ implementation 'com.github.Mobile-Innowise-Group:DateTime-Reel-Picker:{latest ve
**LocalDateTime:**
-
| Method | What it does |
|-------------|-----------------------|
@@ -121,36 +120,16 @@ implementation 'com.github.Mobile-Innowise-Group:DateTime-Reel-Picker:{latest ve
### __Date dialog example:__
-#### ***Basic implementation***
+#### ***Basic (default) implementation***
#### Kotlin
``` kotlin
-ReelPicker
- .createDateDialog()
- .setOkClickCallback(object : ReelPicker.OkClickCallback {
- override fun onOkClick(value: LocalDate) {
- //do whatever you want with callback value
- }
- })
- .setCancelClickCallback(object : ReelPicker.CancelClickCallback{
- override fun onCancelClick() {
- //do whatever you want
- }
- })
- .showDialog(supportFragmentManager)
+ReelPicker.createDateDialog().showDialog(supportFragmentManager)
```
#### Java
``` java
-ReelPicker
- .createDateDialog()
- .setOkClickCallback(value -> {
- //do whatever you want with callback value
- })
- .setCancelClickCallback(() -> {
- //do whatever you want
- })
- .showDialog(fragmentManager)
+ReelPicker.createDateDialog().showDialog(getSupportFragmentManager());
```
@@ -193,7 +172,7 @@ ReelPicker
.setCancelClickCallback(() -> {
//do whatever you want
})
- .showDialog(fragmentManager)
+ .showDialog(getSupportFragmentManager());
```
@@ -205,39 +184,19 @@ ReelPicker
### __Time dialog example:__
-#### ***Default implementation***
+#### ***Basic (default) implementation***
#### Kotlin
``` kotlin
-ReelPicker
- .createTimeDialog()
- .setOkClickCallback(object : ReelPicker.OkClickCallback {
- override fun onOkClick(value: LocalTime) {
- //do whatever you want with callback value
- }
- })
- .setCancelClickCallback(object : ReelPicker.CancelClickCallback{
- override fun onCancelClick() {
- //do whatever you want
- }
- })
- .showDialog(supportFragmentManager)
+ReelPicker.createTimeDialog().showDialog(supportFragmentManager)
```
#### Java
``` java
-ReelPicker
- .createTimeDialog()
- .setOkClickCallback(value -> {
- //do whatever you want with callback value
- })
- .setCancelClickCallback(() -> {
- //do whatever you want
- })
- .showDialog(fragmentManager)
+ReelPicker.createTimeDialog().showDialog(getSupportFragmentManager());
```
@@ -282,7 +241,7 @@ ReelPicker
.setCancelClickCallback(() -> {
//do whatever you want
})
- .showDialog(fragmentManager)
+ .showDialog(getSupportFragmentManager());
```
@@ -294,39 +253,19 @@ ReelPicker
### __Date and time dialog example:__
-#### ***Default implementation***
+#### ***Basic (default) implementation***
#### Kotlin
``` kotlin
-ReelPicker
- .createDateTimeDialog()
- .setOkClickCallback(object : ReelPicker.OkClickCallback {
- override fun onOkClick(value: LocalDateTime) {
- //do whatever you want with callback value
- }
- })
- .setCancelClickCallback(object : ReelPicker.CancelClickCallback{
- override fun onCancelClick() {
- //do whatever you want
- }
- })
- .showDialog(supportFragmentManager)
+ReelPicker.createDateTimeDialog().showDialog(supportFragmentManager)
```
#### Java
``` java
-ReelPicker
- .createDateTimeDialog()
- .setOkClickCallback(value -> {
- //do whatever you want with callback value
- })
- .setCancelClickCallback(() -> {
- //do whatever you want
- })
- .showDialog(fragmentManager);
+ReelPicker.createDateTimeDialog().showDialog(getSupportFragmentManager());
```
@@ -383,7 +322,7 @@ ReelPicker
.setCancelClickCallback(() -> {
//do whatever you want
})
- .showDialog(fragmentManager);
+ .showDialog(getSupportFragmentManager());
```
diff --git a/collage.jpg b/collage.jpg
index be5a7d3..cd45f08 100644
Binary files a/collage.jpg and b/collage.jpg differ
diff --git a/sample.gif b/sample.gif
index b063715..4722a61 100644
Binary files a/sample.gif and b/sample.gif differ