setAnchorView

fun setAnchorView(anchorView: View?): B

Sets the view should be anchored above.


fun setAnchorView(@IdRes anchorViewId: Int): B

Sets the view should be anchored above by id.

Throws

if the anchor view is not found.