OnViewHolderSelectedListener
interface OnViewHolderSelectedListener
Callback for receiving a notification when a ViewHolder has been selected. There are two methods:
onViewHolderSelected is called when the ViewHolder has been selected
onViewHolderSelectedAndAligned is called when the ViewHolder has been selected and aligned out to its final position
Functions
Link copied to clipboard
Link copied to clipboard
open fun onViewHolderSelected(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)
Link copied to clipboard
open fun onViewHolderSelectedAndAligned(parent: RecyclerView, child: RecyclerView.ViewHolder?, position: Int, subPosition: Int)
Called when child has scrolled to its final position