diff --git a/README.md b/README.md index 9654003d..7b24f27b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ allprojects { And add a dependency code to your **module**'s `build.gradle` file. ```gradle dependencies { - implementation "com.github.skydoves:balloon:1.1.9" + implementation "com.github.skydoves:balloon:1.2.0" } ``` @@ -463,6 +463,7 @@ FADE | OVERSHOOT | ELASTIC | CIRCULAR | .setIconColorResource(value: Int) .setIconSpace(value: Int) .setIconForm(value: IconForm) +.setIconGravity(value: IconGravity) .setAlpha(@FloatRange(from = 0.0, to = 1.0) value: Float) .setLayout(@LayoutRes layout: Int) .setPreferenceName(value: String) @@ -470,9 +471,11 @@ FADE | OVERSHOOT | ELASTIC | CIRCULAR | .isRtlSupport(value: Boolean) .setFocusable(value: Boolean) .setLifecycleOwner(value: LifecycleOwner) +.setDismissWhenLifecycleOnPause(value: Boolean) .setBalloonAnimation(value: BalloonAnimation) .setOnBalloonClickListener(value: OnBalloonClickListener) .setOnBalloonDismissListener(value: OnBalloonDismissListener) +.setOnBalloonInitializedListener(value: OnBalloonInitializedListener) .setOnBalloonOutsideTouchListener(value: OnBalloonOutsideTouchListener) .setDismissWhenTouchOutside(value: Boolean) ``` diff --git a/dependencies.gradle b/dependencies.gradle index 4df5ca70..4145b981 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,8 +1,8 @@ ext.versions = [ minSdk : 16, compileSdk : 29, - versionCode : 20, - versionName : '1.1.9', + versionCode : 21, + versionName : '1.2.0', gradleBuildTool : '3.6.3', spotlessGradle : '4.5.1', @@ -15,5 +15,5 @@ ext.versions = [ cardView : '1.0.0', // for demo - googleMaterial : '1.3.0-alpha01' + googleMaterial : '1.3.0-alpha02' ]