public class

DataTableItemTouchListener

extends FioriItemTouchListener
java.lang.Object
   ↳ com.sap.cloud.mobile.fiori.common.FioriItemTouchListener
     ↳ com.sap.cloud.mobile.fiori.object.DataTableItemTouchListener

Summary

[Expand]
Inherited Fields
From class com.sap.cloud.mobile.fiori.common.FioriItemTouchListener
Public Constructors
DataTableItemTouchListener(RecyclerView rv, FioriItemClickListener listener)
Public Methods
boolean onInterceptTouchEvent(RecyclerView recyclerView, MotionEvent motionEvent)
void onRequestDisallowInterceptTouchEvent(boolean b)
Called when a child of RecyclerView does not want RecyclerView and its ancestors to intercept touch events with onInterceptTouchEvent(MotionEvent).
void onTouchEvent(RecyclerView recyclerView, MotionEvent motionEvent)
Process a touch event as part of a gesture that was claimed by returning true from a previous call to onInterceptTouchEvent(RecyclerView, MotionEvent).
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.fiori.common.FioriItemTouchListener
From class java.lang.Object
From interface androidx.recyclerview.widget.RecyclerView.OnItemTouchListener

Public Constructors

public DataTableItemTouchListener (RecyclerView rv, FioriItemClickListener listener)

Public Methods

public boolean onInterceptTouchEvent (RecyclerView recyclerView, MotionEvent motionEvent)

public void onRequestDisallowInterceptTouchEvent (boolean b)

Called when a child of RecyclerView does not want RecyclerView and its ancestors to intercept touch events with onInterceptTouchEvent(MotionEvent).

Parameters
b True if the child does not want the parent to intercept touch events.

public void onTouchEvent (RecyclerView recyclerView, MotionEvent motionEvent)

Process a touch event as part of a gesture that was claimed by returning true from a previous call to onInterceptTouchEvent(RecyclerView, MotionEvent).

Parameters
motionEvent MotionEvent describing the touch event. All coordinates are in