RowsFragment.MainFragmentRowsAdapter

Added in 1.1.0
Deprecated in 1.1.0

public class RowsFragment.MainFragmentRowsAdapter extends BrowseFragment.MainFragmentRowsAdapter


The adapter that RowsFragment implements BrowseFragment.MainFragmentRowsAdapter.

Summary

Public constructors

Public methods

RowPresenter.ViewHolder
int
void

Set the visibility titles/hover of browse rows.

void

Sets an item clicked listener on the fragment.

void

Sets an item selection listener.

void
setSelectedPosition(int rowPosition, boolean smooth)

Selects a Row.

void
setSelectedPosition(
    int rowPosition,
    boolean smooth,
    Presenter.ViewHolderTask rowHolderTask
)

Selects a Row and perform an optional task on the Row.

Public constructors

MainFragmentRowsAdapter

Added in 1.1.0
Deprecated in 1.1.0
public MainFragmentRowsAdapter(RowsFragment fragment)

Public methods

findRowViewHolderByPosition

public RowPresenter.ViewHolder findRowViewHolderByPosition(int position)
Parameters
int position

Position of Row.

Returns
RowPresenter.ViewHolder

Row ViewHolder.

getSelectedPosition

public int getSelectedPosition()
Returns
int

The position of selected row.

setAdapter

public void setAdapter(ObjectAdapter adapter)

Set the visibility titles/hover of browse rows.

setOnItemViewClickedListener

public void setOnItemViewClickedListener(OnItemViewClickedListener listener)

Sets an item clicked listener on the fragment.

setOnItemViewSelectedListener

public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener)

Sets an item selection listener.

setSelectedPosition

public void setSelectedPosition(int rowPosition, boolean smooth)

Selects a Row.

setSelectedPosition

public void setSelectedPosition(
    int rowPosition,
    boolean smooth,
    Presenter.ViewHolderTask rowHolderTask
)

Selects a Row and perform an optional task on the Row.