public final class HorizontalHoverCardSwitcher extends PresenterSwitcher
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.Constructor and Description |
---|
HorizontalHoverCardSwitcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
insertView(View view) |
protected void |
onViewSelected(View view)
Called when a view is bound to the object of
PresenterSwitcher.select(Object) . |
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.
|
clear, getParentViewGroup, init, select, showView, unselect
protected void insertView(View view)
insertView
in class PresenterSwitcher
protected void onViewSelected(View view)
PresenterSwitcher
PresenterSwitcher.select(Object)
.onViewSelected
in class PresenterSwitcher
public void select(HorizontalGridView gridView, View childView, Object object)