abstract
RowPresenter.ViewHolder
|
createRowViewHolder(ViewGroup parent)
Called to create a ViewHolder object for a Row.
|
void
|
dispatchItemSelectedListener(RowPresenter.ViewHolder vh, boolean selected)
This method is only called from
onRowViewSelected(ViewHolder, boolean) onRowViewSelected.
|
void
|
freeze(RowPresenter.ViewHolder holder, boolean freeze)
Freezes/unfreezes the row, typically used when a transition starts/ends.
|
final
RowHeaderPresenter
|
getHeaderPresenter()
Returns the Presenter used for rendering the header, or null if none has been
set.
|
final
RowPresenter.ViewHolder
|
getRowViewHolder(Presenter.ViewHolder holder)
Returns the RowPresenter.ViewHolder from the given RowPresenter
ViewHolder.
|
final
boolean
|
getSelectEffectEnabled()
Returns true if the row selection effect is enabled.
|
final
float
|
getSelectLevel(Presenter.ViewHolder vh)
Returns the current select level.
|
final
int
|
getSyncActivatePolicy()
Returns the policy of updating row view activated status.
|
void
|
initializeRowViewHolder(RowPresenter.ViewHolder vh)
Called after a RowPresenter.ViewHolder is created for a Row.
|
boolean
|
isClippingChildren()
Returns true if the Row view should clip its children.
|
boolean
|
isUsingDefaultSelectEffect()
Returns true if this RowPresenter is using the default dimming effect.
|
void
|
onBindRowViewHolder(RowPresenter.ViewHolder vh, Object item)
Binds the given row object to the given ViewHolder.
|
final
void
|
onBindViewHolder(Presenter.ViewHolder viewHolder, Object item)
Binds a View to an item.
|
final
Presenter.ViewHolder
|
onCreateViewHolder(ViewGroup parent)
Creates a new View .
|
void
|
onRowViewAttachedToWindow(RowPresenter.ViewHolder vh)
Invoked when the row view is attached to the window.
|
void
|
onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh)
Invoked when the row view is detached from the window.
|
void
|
onRowViewExpanded(RowPresenter.ViewHolder vh, boolean expanded)
Called when the row view's expanded state changes.
|
void
|
onRowViewSelected(RowPresenter.ViewHolder vh, boolean selected)
Called when the given row view changes selection state.
|
void
|
onSelectLevelChanged(RowPresenter.ViewHolder vh)
Callback when the select level changes.
|
void
|
onUnbindRowViewHolder(RowPresenter.ViewHolder vh)
Unbinds the given ViewHolder.
|
final
void
|
onUnbindViewHolder(Presenter.ViewHolder viewHolder)
Unbinds a View from an item.
|
final
void
|
onViewAttachedToWindow(Presenter.ViewHolder holder)
Called when a view created by this presenter has been attached to a window.
|
final
void
|
onViewDetachedFromWindow(Presenter.ViewHolder holder)
Called when a view created by this presenter has been detached from its window.
|
void
|
setEntranceTransitionState(RowPresenter.ViewHolder holder, boolean afterEntrance)
Changes the visibility of views.
|
final
void
|
setHeaderPresenter(RowHeaderPresenter headerPresenter)
Sets the Presenter used for rendering the header.
|
final
void
|
setRowViewExpanded(Presenter.ViewHolder holder, boolean expanded)
Sets the expanded state of a Row view.
|
final
void
|
setRowViewSelected(Presenter.ViewHolder holder, boolean selected)
Sets the selected state of a Row view.
|
final
void
|
setSelectEffectEnabled(boolean applyDimOnSelect)
Enables or disables the row selection effect.
|
final
void
|
setSelectLevel(Presenter.ViewHolder vh, float level)
Sets the current select level to a value between 0 (unselected) and 1 (selected).
|
final
void
|
setSyncActivatePolicy(int syncActivatePolicy)
Sets the policy of updating row view activated status.
|