6.3.2.4.5. ListSelectorAdapter.ViewHolder

public static abstract class ViewHolder extends RecyclerView.ViewHolder implements ListSelectorAdapter.OnSelectionChangedListener, View.OnClickListener, View.OnLongClickListener

6.3.2.4.5.1. Fields

6.3.2.4.5.1.1. mCheckBox

public CompoundButton mCheckBox

6.3.2.4.5.1.2. mClickListener

public OnItemClickListener mClickListener

6.3.2.4.5.1.3. mLongClickListener

public OnItemLongClickListener mLongClickListener

6.3.2.4.5.1.4. mPosition

public int mPosition

6.3.2.4.5.2. Constructors

6.3.2.4.5.2.1. ViewHolder

public ViewHolder(View itemView, boolean singleSelectable, OnItemClickListener clickListener, OnItemLongClickListener longClickListener)

6.3.2.4.5.3. Methods

6.3.2.4.5.3.1. onClick

public void onClick(View view)

6.3.2.4.5.3.2. onLongClick

public boolean onLongClick(View v)

6.3.2.4.5.3.3. onSelectionChanged

public void onSelectionChanged(int position, boolean selection)