All Versions
28
Latest Version
Avg Release Cycle
21 days
Latest Release
366 days ago

Changelog History
Page 3

  • v1.0.7 Changes

    December 25, 2019

    ๐Ÿš€ Released version 1.0.7.

    ๐Ÿ”‹ Features :

    We can show balloon popup sequentially using relayShow method.
    The relayShow method makes that setOnDismissListener of the first balloon is reset to show the
    next balloon and returns an instance of the next balloon.

    customListBalloon .relayShowAlignBottom(customProfileBalloon, circleImageView) // relay to customListBalloon .relayShowAlignTop(customTagBalloon, bottomNavigationView, 130, 0) // relay to customProfileBalloon// show sequentially customListBalloon-customProfileBalloon-customTagBallooncustomListBalloon.showAlignBottom(toolbar\_list)
    
    • ๐Ÿ‘Œ Support for XML animations (#10)

    ๐Ÿ’… We can set animation custom xml style using setBalloonAnimationStyle method.

    \<style name="ElasticAndFadeOut"\> \<item name="android:windowEnterAnimation"\>@anim/elastic\_center\</item\> \<item name="android:windowExitAnimation"\>@anim/fade\_out\</item\> \</style\>
    
    setBalloonAnimationStyle(R.style.ElasticAndFadeOut)
    
  • v1.0.6 Changes

    September 20, 2019

    ๐Ÿš€ Released version 1.0.6.

    ๐Ÿ”‹ Features :

    • Pass down View & MotionEvent to listeners (#6)

    OnBalloonClickListener

    fun onBalloonClick(view: View)
    

    OnBalloonOutsideTouchListener

    fun onBalloonOutsideTouch(view: View, event: MotionEvent)
    
    • ๐Ÿ‘Œ Support for setting TypeFace type (#7)
      We can set the Typeface object using setTypeface(value: Typeface) function.

      fun setTextTypeface(value: Typeface)

    • โž• Added setting drawable using __Resource functionality.

    before

    .setTextColor(ContextCompat.getColor(baseContext, R.color.white\_87)) .setIconDrawable(ContextCompat.getDrawable(baseContext, R.drawable.ic\_edit)) .setBackgroundColor(ContextCompat.getColor(baseContext, R.color.skyBlue))
    

    after

    .setTextColorResource(R.color.white\_87) .setIconDrawableResource(R.drawable.ic\_edit) .setBackgroundColorResource(R.color.skyBlue)
    
  • v1.0.5 Changes

    August 29, 2019

    ๐Ÿš€ Released new version 1.0.5.

    • โž• Added setDismissWhenShowAgain and setDismissWhenClicked to the Balloon.Builder.
    • โž• Added setBackgroundColorResource and setTextColorResource funtions.

    Before

    .setTextColor(ContextCompat.getColor(baseContext, R.color.white\_87)) .setBackgroundColor(ContextCompat.getColor(baseContext, R.color.skyBlue))
    

    After

    .setTextColorResource(R.color.white\_87) .setBackgroundColorResource(R.color.yellow)
    
    • โšก๏ธ Optimized internal logic
  • v1.0.4 Changes

    August 16, 2019

    ๐Ÿš€ Released version 1.0.4.

    Balloon's Show methods and extensions can be used without any onClickListeners or delay.

  • v1.0.3 Changes

    August 15, 2019

    ๐Ÿš€ Released version 1.0.3.

    Implemented

    • Balloon.Factory abstract class for creating Balloon instance using lazy delegate.
    • balloon lazy delegate extension on ComponentActivity, Fragment.

    Now it is possible to create a balloon instance using balloon keyword.

    Before
    CustomActivity.kt

    class CustomActivity : AppCompatActivity() { private val profileBalloon by lazy { BalloonUtils.getProfileBalloon(this, this) } // ...}
    

    After
    CustomActivity.kt

    class CustomActivity : AppCompatActivity() { private val profileBalloon by balloon(ProfileBalloonFactory::class) // ...}
    

    ProfileBalloonFactory.kt

    class ProfileBalloonFactory : Balloon.Factory() { override fun create(context: Context, lifecycle: LifecycleOwner): Balloon { return createBalloon(context) { setLayout(R.layout.layout\_custom\_profile) setArrowSize(10) setArrowOrientation(ArrowOrientation.TOP) setArrowPosition(0.5f) setWidthRatio(0.55f) setHeight(250) setCornerRadius(4f) setBackgroundColor(ContextCompat.getColor(context, R.color.background900)) setBalloonAnimation(BalloonAnimation.CIRCULAR) setLifecycleOwner(lifecycle) } } }
    
  • v1.0.2 Changes

    August 09, 2019

    ๐Ÿš€ released version 1.0.2.

    implemented missing method onDestroy which dismiss automatically when lifecycle owner is onDestroy.

  • v1.0.1 Changes

    July 30, 2019

    implemented below methods.

    • setOnBalloonOutsideTouchListener
    • setDismissWhenTouchOutside
  • v1.0.0 Changes

    July 15, 2019

    ๐Ÿฑ ๐ŸŽ‰๐ŸŽ‰ Published version 1.0.0. ๐ŸŽ‰๐ŸŽ‰