-
public final class Selection
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanenabledprivate final SparseBooleanArrayselectedItemsprivate final SparseBooleanArrayanimationItemsIndexprivate BooleanreverseAllAnimationsprivate IntegercurrentSelectedIndex
-
Constructor Summary
Constructors Constructor Description Selection(RecyclerViewAdapterBase<?> adapter)
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()final UnitsetEnabled(Boolean enabled)final SparseBooleanArraygetSelectedItems()final SparseBooleanArraygetAnimationItemsIndex()final BooleangetReverseAllAnimations()final UnitsetReverseAllAnimations(Boolean reverseAllAnimations)final IntegergetCurrentSelectedIndex()final UnitsetCurrentSelectedIndex(Integer currentSelectedIndex)final UnitsetSelection(Integer pos)final UnittoggleSelection(Integer pos)final UnitdeleteSelection(Integer pos)final UnitclearSelections()final UnitresetAnimationIndex()final IntegergetSelectedItemCount()final IntArraygetSelectedItemsIntArray()final UnitresetCurrentIndex()-
-
Constructor Detail
-
Selection
Selection(RecyclerViewAdapterBase<?> adapter)
-
-
Method Detail
-
getEnabled
final Boolean getEnabled()
-
setEnabled
final Unit setEnabled(Boolean enabled)
-
getSelectedItems
final SparseBooleanArray getSelectedItems()
-
getAnimationItemsIndex
final SparseBooleanArray getAnimationItemsIndex()
-
getReverseAllAnimations
final Boolean getReverseAllAnimations()
-
setReverseAllAnimations
final Unit setReverseAllAnimations(Boolean reverseAllAnimations)
-
getCurrentSelectedIndex
final Integer getCurrentSelectedIndex()
-
setCurrentSelectedIndex
final Unit setCurrentSelectedIndex(Integer currentSelectedIndex)
-
setSelection
final Unit setSelection(Integer pos)
-
toggleSelection
final Unit toggleSelection(Integer pos)
-
deleteSelection
final Unit deleteSelection(Integer pos)
-
clearSelections
final Unit clearSelections()
-
resetAnimationIndex
final Unit resetAnimationIndex()
-
getSelectedItemCount
final Integer getSelectedItemCount()
-
getSelectedItemsIntArray
final IntArray getSelectedItemsIntArray()
-
resetCurrentIndex
final Unit resetCurrentIndex()
-
-
-
-