Skip to content

Commit 36347ad

Browse files
committed
Prepare for the next release
1 parent 2f10ddd commit 36347ad

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Add the dependency below to your **module**'s `build.gradle` file:
4343

4444
```gradle
4545
dependencies {
46-
implementation "com.github.skydoves:balloon:1.5.1"
46+
implementation "com.github.skydoves:balloon:1.5.2"
4747
}
4848
```
4949

@@ -66,7 +66,7 @@ repositories {
6666
Next, add the below dependency to your **module**'s `build.gradle` file.
6767
```gradle
6868
dependencies {
69-
implementation "com.github.skydoves:balloon:1.5.2-SNAPSHOT"
69+
implementation "com.github.skydoves:balloon:1.5.3-SNAPSHOT"
7070
}
7171
```
7272

@@ -683,10 +683,10 @@ You can display tooltips with `Balloon` composable function and `rememberBalloon
683683
// create and remember a builder of Balloon.
684684
val builder = rememberBalloonBuilder {
685685
setArrowSize(10)
686-
setWidthRatio(1.0f)
687-
setHeight(BalloonSizeSpec.WRAP)
688-
setArrowOrientation(ArrowOrientation.BOTTOM)
689686
setArrowPosition(0.5f)
687+
setArrowPositionRules(ArrowPositionRules.ALIGN_ANCHOR)
688+
setWidth(BalloonSizeSpec.WRAP)
689+
setHeight(BalloonSizeSpec.WRAP)
690690
setPadding(12)
691691
setMarginHorizontal(12)
692692
setCornerRadius(8f)
@@ -729,6 +729,13 @@ Balloon(
729729
Text(text = "showAtCenter")
730730
}
731731
}
732+
733+
Balloon(
734+
builder = builder,
735+
balloonContent = null
736+
) { balloonWindow ->
737+
..
738+
}
732739
```
733740

734741
### Compose Extensions

buildSrc/src/main/kotlin/com/skydoves/balloon/Configuration.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ object Configuration {
2424
const val minSdkBenchmark = 23
2525
const val majorVersion = 1
2626
const val minorVersion = 5
27-
const val patchVersion = 1
27+
const val patchVersion = 2
2828
const val versionName = "$majorVersion.$minorVersion.$patchVersion"
29-
const val versionCode = 51
29+
const val versionCode = 52
3030
const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT"
3131
const val artifactGroup = "com.github.skydoves"
3232
}

0 commit comments

Comments
 (0)