react-native/ReactAndroid
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
..
libs Add BUCK files 2016-01-22 16:20:13 +00:00
src Add ReactCompoundViewGroup interface that allows having both virtual and non-virtual (View) children 2016-03-07 20:07:24 -08:00
.npmignore Don't publish /ReactAndroid/build to npm, update version on master 2015-10-12 11:11:40 -07:00
DEFS Backed out changeset fe59b7f7c7da 2016-02-24 08:39:35 -08:00
DevExperience.md Fixed typo 2015-12-31 12:26:10 +04:00
README.md Clean up docs on building RN Android from source 2016-02-18 07:59:39 -08:00
build.gradle instrumentation tests are executed with BUCK 2016-03-02 06:55:35 -08:00
gradle.properties Ability to run unit tests in react-android-github via gradle 2015-11-27 04:20:19 -08:00
release.gradle New release process: Fix installArchives 2016-02-09 10:30:32 -08:00

README.md

Building React Native for Android

See docs on the website.