-
public interface ReactInterceptingViewGroup
This interface should be implemented by all ViewGroup subviews that can be instantiating by NativeViewHierarchyManager. It is used to configure onInterceptTouch event listener which then is used to control touch event flow in cases in which they requested to be intercepted by some parent view based on a JS gesture detector.
-
-
Method Summary
Modifier and Type Method Description abstract void
setOnInterceptTouchEventListener(OnInterceptTouchEventListener listener)
A ViewGroup instance that implement this interface is responsible for storing thelistener passed as an argument and then calling from and returning the result. -
-
Method Detail
-
setOnInterceptTouchEventListener
abstract void setOnInterceptTouchEventListener(OnInterceptTouchEventListener listener)
A ViewGroup instance that implement this interface is responsible for storing thelistener passed as an argument and then calling from and returning the result. If some custom handling of thismethod apply for the view, it should be called after the listener returns and only in a casewhen it returns false.
- Parameters:
listener
- A callback that ViewGroup should delegate calls for to
-
-
-
-