Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iamageo committed Dec 1, 2022
2 parents dea915f + 5978ee7 commit fe12751
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ just call in build:
.hideNegativeButton(hide = true)
```

## How to set cancelable (❌ in development, wait for the next version)
just call in build:
```kotlin
.cancelable(isCancelable = true)
```

## Type ✔️ ℹ️ ❌
We can customize the type of Dialog.
```kotlin
Expand All @@ -90,6 +96,8 @@ By Default Position is Bottom.
| :---------------: | :---------------: |
| <img src="https://user-images.githubusercontent.com/26925002/162633413-8cc80819-5ff8-4258-b60e-5101d058c907.png" align="center" width="50%"/> | <img src="https://user-images.githubusercontent.com/26925002/162633465-7dae6ed4-c638-432e-a823-7276e046546b.png" align="center" width="50%"/>

## Hacktoberfest 2022
This project has been submitted for hacktoberfest 2022. [See more here](https://hacktoberfest.com/)

## Beautiful Dialog Attributes
Attributes | Type | Default | Description
Expand All @@ -101,7 +109,7 @@ type | TYPE.SUCCESS, TYPE.INFO or TYPE.ERROR | none | Indicates the dialog type,
onPositive | onClick | none | Button positive click.
onNegative | onClick | none | Button negative click.
hideNegativeButton | Boolean | false | hide negative button.

cancelable | Boolean | false | set if Beautiful is cancelable on click in screen
## License
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
plugins {
id 'com.android.application' version '7.1.0' apply false
id 'com.android.library' version '7.1.0' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
id 'org.jetbrains.kotlin.android' version '1.7.21' apply false
}

task clean(type: Delete) {
Expand Down

0 comments on commit fe12751

Please sign in to comment.