setSelectedSubPosition

fun setSelectedSubPosition(position: Int, subPosition: Int)

Changes the main selection and sub selected view immediately without any scroll animation.

Parameters

position

Adapter position of the item to select

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments


fun setSelectedSubPosition(position: Int, subPosition: Int, task: ViewHolderTask)

Performs a task on a ViewHolder at a given position and sub position after scrolling to it.

Parameters

position

Adapter position of the item to select

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments

task

Task to executed on the ViewHolder at the given position


fun setSelectedSubPosition(subPosition: Int)

Changes the sub selected view immediately without any scroll animation.

Parameters

subPosition

index of the alignment from DpadViewHolder.getSubPositionAlignments