added in version 22.1.0
belongs to Maven artifact


public final class HorizontalHoverCardSwitcher
extends PresenterSwitcher


A helper class for showing a hover card view below a HorizontalGridView. The hover card is aligned to the starting edge of the selected child view. If there is no space when scrolling to the end, the ending edge of the hover card will be aligned to the ending edge of the parent view, excluding padding.


Public constructors


Public methods

void select(HorizontalGridView gridView, View childView, Object object)

Select a childView inside a grid view and create/bind a corresponding hover card view for the object.

Protected methods

void insertView(View view)
void onViewSelected(View view)

Called when a view is bound to the object of select(Object).

Inherited methods

From class
From class java.lang.Object