HorizontalHoverCardSwitcher
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.
Summary
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.
|
Inherited methods |
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
HorizontalHoverCardSwitcher
public HorizontalHoverCardSwitcher ()
Public methods
public 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.
Parameters |
gridView |
HorizontalGridView |
childView |
View |
object |
Object |
Protected methods
insertView
protected void insertView (View view)
onViewSelected
protected void onViewSelected (View view)
Called when a view is bound to the object of select(Object)
.