Skip to content

Commit

Permalink
V0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PrashamTrivedi committed Jul 7, 2017
1 parent bf2c0ed commit 1830a75
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ And a lot more....
For latest version see below.
## Latest Version
0.7.1
0.7.2
View [Changelog](changelog.md)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha4'
classpath 'com.android.tools.build:gradle:3.0.0-alpha5'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
}
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ChangeLog

### 0.7.2
- AlertDialog can accept optional `themeId` parameter to add themes for dialog

### 0.7.1
- Version 0.7.1 fixes a small publishing issue
- Worked in Java interoperability
Expand Down
4 changes: 2 additions & 2 deletions kutils/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
POM_NAME=kutils
POM_ARTIFACT_ID=kutils
POM_PACKAGING=aar
VERSION_NAME=0.7.1
VERSION_CODE=9
VERSION_NAME=0.7.2
VERSION_CODE=10
GROUP=com.creativeelites
POM_DESCRIPTION=Development Utils Kotlin
POM_URL=https://github.com/CreativeElites/UtilsLibrary
Expand Down
4 changes: 2 additions & 2 deletions kutils/src/main/kotlin/com/celites/kutils/Dialogs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import android.support.v7.app.AlertDialog
/**
* Created by Prash on 19-05-2017.
*/
@JvmOverloads inline public fun Context.showDialog(cancelable: Boolean = false, cancelableTouchOutside: Boolean = false, builderFunction: AlertDialog.Builder.() -> Any) {
val builder = AlertDialog.Builder(this)
@JvmOverloads inline public fun Context.showDialog(themeId: Int = 0, cancelable: Boolean = false, cancelableTouchOutside: Boolean = false, builderFunction: AlertDialog.Builder.() -> Any) {
val builder = AlertDialog.Builder(this, themeId)
builder.builderFunction()
val dialog = builder.create();

Expand Down

0 comments on commit 1830a75

Please sign in to comment.