awaitAlignTop

abstract suspend fun awaitAlignTop(xOff: Int = 0, yOff: Int = 0)

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

Parameters

xOff

A horizontal offset from the anchor in pixels.

yOff

A vertical offset from the anchor in pixels.