File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2626Add a dependency code to your ** module** 's ` build.gradle ` file.
2727``` gradle
2828dependencies {
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
178190An expression for invoking ` whatIf ` lambda when the Activity's intent extras is not null and not empty.
Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments