Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Denis Koroskin aae521f57e Add ReactCompoundViewGroup interface that allows having both virtual and non-virtual (View) children
Summary: In React, ReactCompoundView is supposed to be implemented by a View, but there is no ViewGroup counterpart that allows mixing virual nodes and non-virtual ones (Views) in the same parent. This is needed because TouchTargetHelper always considers child Views when looking for touch target before falling back to View/ReactCompoundView. This works incorrectly for e.g. layout-only / flattened nodes. ReactCompoundViewGroup allow intercepting touch event before it is dispatched to its children. In that sense, ReactCompoundView.reactTagForTouch() is like View.onTouchEvent() whereas ReactCompoundViewGroup.interceptsTouchEvent() is like ViewGroup.onInterceptTouchEvent().

Differential Revision: D3018028

fb-gh-sync-id: d2c70a55afb9ce9823275e7483d72e0ebedf52e4
shipit-source-id: d2c70a55afb9ce9823275e7483d72e0ebedf52e4
2016-03-07 20:07:24 -08:00
..
2016-01-22 16:20:13 +00:00
2016-02-12 08:10:33 -08:00
2016-03-07 11:28:21 -08:00
2016-01-25 06:01:46 -08:00
2016-03-03 04:08:31 -08:00
2016-02-16 16:51:39 -08:00
2016-03-07 12:26:25 -08:00
2016-01-22 16:20:13 +00:00
2016-02-12 08:10:33 -08:00
2016-02-26 03:24:36 -08:00