Recycler Item Click Listener
class RecyclerItemClickListener(context: Context, onItemClick: (view: View, position: Int) -> Unit) : RecyclerView.OnItemTouchListener
Content copied to clipboard
Implementing the RecyclerView.OnItemTouchListener to respond to only single tap events
Author
aurélien leboulanger
Constructors
Link copied to clipboard
fun RecyclerItemClickListener(context: Context, onItemClick: (view: View, position: Int) -> Unit)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun onInterceptTouchEvent(view: RecyclerView, e: MotionEvent): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun onRequestDisallowInterceptTouchEvent(disallowIntercept: Boolean)
Content copied to clipboard
Link copied to clipboard
open override fun onTouchEvent(view: RecyclerView, motionEvent: MotionEvent)
Content copied to clipboard