From 3b3430546b65a3aa04de1631037eac28d405d56f Mon Sep 17 00:00:00 2001 From: Pranav Pandey Date: Sun, 11 Feb 2018 10:12:32 +0530 Subject: [PATCH] Version 0.9.0 --- README.md | 13 +++++++------ build.gradle | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e044e15..07bea33 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi ```groovy dependencies { - implementation 'com.pranavpandey.android:dynamic-utils:0.8.0' + implementation 'com.pranavpandey.android:dynamic-utils:0.9.0' } ``` @@ -166,19 +166,20 @@ Helper class to perform unit conversions. ### DynamicVersionUtils Helper class to detect the Android SDK version at runtime so that we can provide the user -experience accordingly. - -- `boolean isGingerbread()` - To detect if the current Android version is Gingerbread or above. +experience accordingly. Pass `true` in the alternate method to check for equality. - `boolean isIceCreamSandwich()` - To detect if the current Android version is Ice Cream Sandwich or above. -... +- `boolean isIceCreamSandwich(equals)` - To detect if the current Android version is Ice Cream +Sandwich or above. -- `boolean isNougatMR1()` - To detect if the current Android version is NougatMR1 or above. +... - `boolean isOreoMR1()` - To detect if the current Android version is OreoMR1 or above. +- `boolean isOreoMR1(equals)` - To detect if the current Android version is OreoMR1 or above. + ### DynamicViewUtils Helper class to perform `view` operations. diff --git a/build.gradle b/build.gradle index c11329f..343eef9 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ ext { githubUrl = 'pranavpandey/dynamic-utils' mavenGroup = 'com.pranavpandey.android' - mavenVersion = '0.8.0' + mavenVersion = '0.9.0' mavenInceptionYear = 2017 mavenArtifactId = 'dynamic-utils' bintrayRepo = 'android' @@ -50,7 +50,7 @@ ext { licenseDistribution = 'repo' allLicenses = ["Apache-2.0"] - versionCode = 8 + versionCode = 9 buildTools = '27.0.3' minSdk = 14