Balloon
Balloon implements a customizable tooltips popup with and arrow and animations.
Parameters
A context for creating and accessing internal resources.
A Balloon.Builder for creating an instance of the Balloon.
See also
(https://github.com/skydoves/balloon)
Properties
A main content window of the popup.
Denotes the align of the currently displaying balloon.
Interface definition for a callback to be invoked when a balloon view is initialized.
An overlay window of the background popup.
Functions
Coroutine alternative for showAlign. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
Coroutine alternative for showAlignBottom. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
Coroutine alternative for showAlignEnd. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
Coroutine alternative for showAlignLeft. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
Coroutine alternative for showAlignTop. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
Coroutine alternative for showAsDropDown. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
Coroutine alternative for showAtCenter. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.
clears all persisted preferences.
dismiss the popup menu with milliseconds delay.
gets a arrow view of the balloon popup window.
gets a content view of the balloon popup window.
gets measured height size of the balloon popup.
gets measured width size of the balloon popup.
dismiss automatically when lifecycle owner is destroyed.
dismiss when the LifecycleOwner be on paused.
Shows the balloon on an anchor view depending on the align alignment with x-off and y-off and shows the next balloon sequentially. This function returns the next balloon.
Shows the balloon on an anchor view as the center alignment with x-off and y-off and shows the next balloon sequentially. This function returns the next balloon.
sets whether the popup window will be attached in the decor frame of its parent window. If you want to show up balloon on your DialogFragment, it's recommended to use with true. (#131)
sets a OnBalloonClickListener to the popup.
sets a OnBalloonClickListener to the popup using lambda.
sets a OnBalloonDismissListener to the popup.
sets a OnBalloonDismissListener to the popup using lambda.
sets a OnBalloonInitializedListener to the popup. The OnBalloonInitializedListener.onBalloonInitialized will be invoked when inflating the body content of the balloon is finished.
sets a OnBalloonInitializedListener to the popup using a lambda. The OnBalloonInitializedListener.onBalloonInitialized will be invoked when inflating the body content of the balloon is finished.
sets a OnBalloonOutsideTouchListener to the popup.
sets a OnBalloonOutsideTouchListener to the popup using lambda.
sets a OnBalloonOverlayClickListener to the overlay popup.
sets a OnBalloonOverlayClickListener to the overlay popup using lambda.
sets a View.OnTouchListener to the overlay popup
sets a View.OnTouchListener to the overlay popup using lambda.
sets a View.OnTouchListener to the popup.
Checks if the balloon should show up.
Shows the balloon on an anchor view as the bottom alignment with x-off and y-off.
Shows the balloon on an anchor view as the end alignment with x-off and y-off.
Shows the balloon on an anchor view as the left alignment with x-off and y-off.
Shows the balloon on an anchor view as the right alignment with x-off and y-off.
Shows the balloon on an anchor view as the start alignment with x-off and y-off.
Shows the balloon on an anchor view as the top alignment with x-off and y-off.
Shows the balloon on an anchor view as drop down with x-off and y-off.
Shows the balloon over the anchor view (overlap) as the center aligns. Even if you use with the ArrowOrientationRules.ALIGN_ANCHOR, the alignment will not be guaranteed. So if you use the function, use with ArrowOrientationRules.ALIGN_FIXED and fixed ArrowOrientation.
Update the balloon on a given new anchor as the bottom alignment with x-off and y-off.