java.lang.Object |
↳ |
com.pdftron.pdf.widget.recyclerview.ItemSelectionHelper |
Class Overview
RecyclerView plugin to support item check-states.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
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()
|
|
From interface
com.pdftron.pdf.widget.recyclerview.ViewHolderBindListener
|
Constants
public
static
final
int
CHOICE_MODE_MULTIPLE
Constant Value:
2
(0x00000002)
public
static
final
int
CHOICE_MODE_NONE
Constant Value:
0
(0x00000000)
public
static
final
int
CHOICE_MODE_SINGLE
Constant Value:
1
(0x00000001)
public
static
final
int
INVALID_POSITION
Constant Value:
-1
(0xffffffff)
Public Constructors
public
ItemSelectionHelper
()
Public Methods
public
void
attachToRecyclerView
(RecyclerView recyclerView)
public
void
clearChoices
()
public
int
getCheckedItemCount
()
public
long[]
getCheckedItemIds
()
public
int
getCheckedItemPosition
()
public
SparseBooleanArray
getCheckedItemPositions
()
public
int
getChoiceMode
()
public
RecyclerView.AdapterDataObserver
getDataObserver
()
public
boolean
isItemChecked
(int position)
public
void
onBindViewHolder
(RecyclerView.ViewHolder holder, int position)
public
void
setChoiceMode
(int choiceMode)
public
void
setItemChecked
(int position, boolean checked)