Skip to content

Commit 58beec3

Browse files
committed
Release a new version 1.0.8
1 parent 6cba786 commit 58beec3

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
Add a dependency code to your **module**'s `build.gradle` file.
2727
```gradle
2828
dependencies {
29-
implementation "com.github.skydoves:whatif:1.0.7"
30-
implementation "com.github.skydoves:whatif-android:1.0.7" // for android extensions
29+
implementation "com.github.skydoves:whatif:1.0.8"
3130
}
3231
```
3332

@@ -173,6 +172,19 @@ nullableBoolean.whatIfOr(predicate) {
173172
}
174173
```
175174

175+
## WhatIf for Android Extension
176+
We can use the whatIf extensions related to the Android project.<br>
177+
178+
[![Download](https://api.bintray.com/packages/devmagician/maven/whatif-android/images/download.svg) ](https://bintray.com/devmagician/maven/whatif-android/_latestVersion)
179+
[![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)
180+
### Gradle
181+
Add a dependency code to your **module**'s `build.gradle` file.
182+
```gradle
183+
dependencies {
184+
implementation "com.github.skydoves:whatif-android:version"
185+
}
186+
```
187+
176188
### WhatIf for Android Activity
177189
### WhatIfHasExtras
178190
An expression for invoking `whatIf` lambda when the Activity's intent extras is not null and not empty.

dependencies.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext.versions = [
22
minSdkLib : 15,
33
minSdkDemo : 16,
44
compileSdk : 30,
5-
versionCode : 8,
6-
versionName : '1.0.7',
5+
versionCode : 9,
6+
versionName : '1.0.8',
77

88
gradleBuildTool : '4.1.1',
99
spotlessGradle : '5.8.2',

0 commit comments

Comments
 (0)