update

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

updates popup and arrow position of the popup based on a new target anchor view with additional x-off and y-off.

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.