Skip to content

Commit

Permalink
Release a new version 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Nov 21, 2020
1 parent 6cba786 commit 58beec3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
Add a dependency code to your **module**'s `build.gradle` file.
```gradle
dependencies {
implementation "com.github.skydoves:whatif:1.0.7"
implementation "com.github.skydoves:whatif-android:1.0.7" // for android extensions
implementation "com.github.skydoves:whatif:1.0.8"
}
```

Expand Down Expand Up @@ -173,6 +172,19 @@ nullableBoolean.whatIfOr(predicate) {
}
```

## WhatIf for Android Extension
We can use the whatIf extensions related to the Android project.<br>

[![Download](https://api.bintray.com/packages/devmagician/maven/whatif-android/images/download.svg) ](https://bintray.com/devmagician/maven/whatif-android/_latestVersion)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.skydoves/whatif-android.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22whatif-android%22)
### Gradle
Add a dependency code to your **module**'s `build.gradle` file.
```gradle
dependencies {
implementation "com.github.skydoves:whatif-android:version"
}
```

### WhatIf for Android Activity
### WhatIfHasExtras
An expression for invoking `whatIf` lambda when the Activity's intent extras is not null and not empty.
Expand Down
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ ext.versions = [
minSdkLib : 15,
minSdkDemo : 16,
compileSdk : 30,
versionCode : 8,
versionName : '1.0.7',
versionCode : 9,
versionName : '1.0.8',

gradleBuildTool : '4.1.1',
spotlessGradle : '5.8.2',
Expand Down

0 comments on commit 58beec3

Please sign in to comment.