Releases: skydoves/Balloon
Releases · skydoves/Balloon
1.3.5
🎈 Released a new version 1.3.5
! 🎈
🎉 Balloon has been featured on the official Google Dev library.🎉
What's New?
- Added:
setPaddingHorizontal
,setPaddingVertical
,setMarginHorizontal
, andsetMarginVertical
functions. - Fix: Lint shows error for dimen resource id. (#190)
- Fix: Move post runner inside of the if conditional and check isAttachedToWindow (#192, #197)
- Update: Invoke
dismiss()
instead of theonDestroy()
on Pause lifecycle event. (#186) - Update: A lot of internal refactoring.
1.3.4
🎉 Released a new version 1.3.4
! 🎉
What's New?
- Changed required min SDK 16 to 17.
- Fixed: Balloon.isShowing is not set to false when ShowCounts is reached (#168)
- Fixed: Balloon does not adapt to the height of a custom View on certain devices (#171)
- Added:
minWidth
andmaxWidth
functions for setting range of the balloon width size. This functionality works only with theBalloonSizeSpec.WRAP]
. - Removed:
isRtlSupport
function and it will be applied automatically based on the default RTL LayoutDirection by a device. - Deprecated:
IconGravity.LEFT
andIconGravity.RIGHT
are deprecated and there are newIconGravity.START
andIconGravity.END
gravities for RTL supports. - Added:
getBalloonArrowView()
function for getting a view of the balloon arrow. (#180)
1.3.3
1.3.2
🎉 Released a new version 1.3.2
! 🎉
What's New?
- Fixed: Arrow not placing the first time at the right position (#155)
- Fixed: Balloon does not adapt to the height of a custom View (#148)
- Refactored measuring text size of the balloon for calculating properly width size of the custom layout and the default
VectorTextView
. - Added some function documentations for explaining the purpose of parameters.
- Removed internal JCenter publishing tasks and migrated to maven central.
- Migrated
androidx.lifecycle:lifecycle-compiler
apt toandroidx.lifecycle:lifecycle-common-java8
dependency for faster compilation. - Uses Java 1.8 compile options since this version.
1.3.1
🎉 Released a new version 1.3.1
! 🎉
What's New?
- Fixed: Overlay does not position correctly in bottom sheet containers (#141)
- Changed:
balloon
extension in theFragment
will not return nullable anymore. (non-nullable, thanks @svrlopatrik) - Rename:
ArrowConstraints
renamed toArrowPositionRules
. - Added:
ArrowOrientationRules
. (reference) - Added:
BalloonHighlightAnimation
for highlighting the balloon with animation. (thanks @svrlopatrik)
We can set the highlight animation like the below.
.setBalloonHighlightAnimation(BalloonHighlightAnimation.HEARTBEAT)
- Added: Balloon's setter functions with dimension resource parameter. (c9a900c, thanks @svrlopatrik)
- Fixed: Shadow gets cut at the bottom of the tooltip (#150)
- Fixed: Fatal Exception: java.lang.IllegalStateException (#149)
- Fixed: Balloon does not adapt to the height of a custom View (#148).
- Changed: Now we don't need to call the
measureTextWidth()
for measuring theTextView
's exact size. It will be measured automatically. - Fixed: Option to switch arrow orientation based on the tooltip position (#122, #147)
- Fixed: Arrow does not show elevation (#76)
1.3.0
🎉 Released a new version 1.3.0
! 🎉
What's New?
- Added new methods for the
Balloon.Builder
.- setSize(int width, int height)
- setSizeResource(int width dimension resource, height dimension resource)
- setIconWidth(int width), setIconHeight(int width)
- Now the
setLifecycleOwner
will be called automatically in the internal logic. (92790dd) - Added and removed some methods related to the Persistence.
- Removed unused methods in the
BalloonPersistence
. - Renamed
setShowTime
tosetShowCounts
. - Added a new method for the
Balloon.Builder
,runIfReachedShowCounts
. The argument lambda will be invoked after the preference showing counts is reached the goal.
- Removed unused methods in the
balloon.runIfReachedShowCounts {
// do something after reached to show counts.
}
- Refactored
ViewBalloonLazy
internally for getting an Activity. - Removed the
cardview
dependency in the balloon module. - Refactored internal balloon layout structures.
- There is an unintended space between the arrow and the message box. (#139)
1.2.9
🎉 Released a new version 1.2.9
! 🎉
What's New?
- Fixed a balloon popup's shadow getting clipped (#134)
Added a BalloonSizeSpec
(#135)
A specification interface for determining sizes of the Balloon materials.
We can wrap some materials depending on their size of content using this interface.
.setWidth(BalloonSizeSpec.WRAP)
.setHeight(BalloonSizeSpec.WRAP)
.setArrowSize(BalloonSizeSpec.WRAP)
Deprecated previous balloon
lazy extension and added new extensions.
Previous (Deprecated)
private val customListBalloon by balloon(CustomListBalloonFactory::class)
After
private val customListBalloon by balloon<CustomListBalloonFactory>()
1.2.8
🎉 Released a new version 1.2.8
! 🎉
What's New?
- Added
balloon
extension forView
class viaViewBalloonLazy
.
Now we can initialize the Balloon lazily using theBalloon.Factory
in custom views. - Fixed wrong annotations
ColorInt
toColorRes
for thesetIconColorResource
. - Fixed
setIconColor
is not working properly (#130). - Renamed
isArrowVisible()
toisVisibleArrow()
and fixed not working properly. - The
circularReveal
extensions are changed to the inline function. - Renamed
BalloonDsl
toBalloonInlineDsl
internally.
1.2.7
🎉 Released a new version 1.2.7
! 🎉
What's New?
- Fixed: Arrow not showing if the parent of an anchor is rtl. (#125)
- Fixed: Arrow is hidden behind Balloon If fitsSystemWindows` is true in theme styles. (#123)
- Changed previous anim, drawable, and styles resources convention. (08f9723)
- Changed previous layout and drawable resources naming convention. (30917cf)
- Refactor show and
relayShow
functionalities for receivingxOff
andyOff
. (b7c9808)
1.2.6
🎉 Released a new version 1.2.6
! 🎉
What's New?
- Fix
setPaddingResource
andsetMarginResource
are applied as double size. (21dee54) - Prevent generating the
BuildConfig
class from the balloon module. - Changed visibility of the
ActivityBalloonLazy
andFragmentBalloonLazy
class as internal. - Internal refactorings.