onViewHolderSelectedAndAligned
open fun onViewHolderSelectedAndAligned(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)
Called when child has scrolled to its final position
Parameters
parent
The RecyclerView where the selection happened.
child
The ViewHolder within the RecyclerView that is selected, or null if no view is selected.
position
The position of the view in the adapter, or NO_POSITION if no view is selected.
subPosition
The index of the alignment from DpadViewHolder.getSubPositionAlignments, or 0 if there is no custom alignment