awaitAlignBottom

suspend fun awaitAlignBottom(anchor: View, xOff: Int = 0, yOff: Int = 0)

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

Parameters

anchor

A target view which popup will be shown to.

xOff

A horizontal offset from the anchor in pixels.

yOff

A vertical offset from the anchor in pixels.