awaitAlign

abstract suspend fun awaitAlign(align: BalloonAlign, mainAnchor: View, subAnchorList: List<View> = listOf(), xOff: Int = 0, yOff: Int = 0)

Coroutine alternative for showAlign. This method suspends until the popup is displayed. Can be used to show popups sequentially without using relay methods.

Parameters

align

Decides where the balloon should be placed.

mainAnchor

A target view which popup will be displayed.

subAnchorList

A list of anchors to display focuses on the overlay view.

xOff

A horizontal offset from the anchor in pixels.

yOff

A vertical offset from the anchor in pixels.