balloon / com.skydoves.balloon

Package com.skydoves.balloon

Types

ActivityBalloonLazy

class ActivityBalloonLazy<out T : Factory> : Lazy<Balloon>

An implementation of Lazy used by ComponentActivity

ArrowOrientation

enum class ArrowOrientation

ArrowOrientation determines the orientation of the arrow.

Balloon

class Balloon : LifecycleObserver

Balloon implements showing and dismissing text popup with arrow and animations.

BalloonAnimation

enum class BalloonAnimation

BalloonAnimation is the collection of the popup animations.

FragmentBalloonLazy

class FragmentBalloonLazy<out T : Factory> : Lazy<Balloon?>

An implementation of Lazy used by Fragment

IconForm

class IconForm

IconForm is an attribute class which has TextView attributes for customizing popup icons easily.

OnBalloonClickListener

interface OnBalloonClickListener

Interface definition for a callback to be invoked when a balloon view is clicked.

OnBalloonDismissListener

interface OnBalloonDismissListener

Interface definition for a callback to be invoked when a balloon view is dismissed.

OnBalloonOutsideTouchListener

interface OnBalloonOutsideTouchListener

Interface definition for a callback to be invoked when touched on outside of the balloon popup.

TextForm

class TextForm

TextFrom is an attribute class what has some attributes about TextView for customizing popup texts easily.

Annotations

BalloonDsl

annotation class BalloonDsl

IconFormDsl

annotation class IconFormDsl

TextFormDsl

annotation class TextFormDsl

Extensions for External Classes

android.view.View

androidx.activity.ComponentActivity

androidx.fragment.app.Fragment

Functions

createBalloon

fun createBalloon(context: Context, block: Builder.() -> Unit): Balloon

creates an instance of Balloon by Balloon.Builder using kotlin dsl.

iconForm

fun iconForm(context: Context, block: Builder.() -> Unit): IconForm

creates an instance of IconForm from IconForm.Builder using kotlin dsl.

textForm

fun textForm(context: Context, block: Builder.() -> Unit): TextForm

creates an instance of TextForm from TextForm.Builder using kotlin dsl.