Balloon v1.0.6 Release Notes

Release Date: 2019-09-20 // 3 months ago
  • 🚀 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)
    

Previous changes from v1.0.5

  • 🚀 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