OnViewFocusedListener

Callback for receiving a notification when a View of a RecyclerView.ViewHolder has been focused.

Be aware that a RecyclerView.ViewHolder selection can change without focus and, in that case, this callback is not invoked. Instead, use OnViewHolderSelectedListener for observing selections

Functions

Link copied to clipboard
abstract fun onViewFocused(parent: RecyclerView.ViewHolder, child: View)