public interface LithoTooltip
Modifier and Type | Method and Description |
---|---|
void |
showLithoTooltip(View container,
Rect anchorBounds,
int xOffset,
int yOffset)
Do not call this method directly! It should only be called by the Litho framework to ensure
that the correct parameters are passed.
|
void showLithoTooltip(View container, Rect anchorBounds, int xOffset, int yOffset)
LithoTooltipController
instead.
Display the tooltip on an anchor component with the given bounds relative to the view that contains it.
container
- View that wraps the Component that is used as anchoranchorBounds
- Rect with the bounds of the component relative to host viewxOffset
- move tooltip with this horizontal offset from default positionyOffset
- move tooltip with this vertical offset from default position