Please sign in to comment.
Android event documentation - Adding part about mapping event names.
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> I was quite lost when the documentation told me to go figure the event mapping out myself. It took me quite a while to figure out that i needed to register the names in the `ViewManager`. This code snippet just makes it way easier to figure out what you need to do to add events. Closes #16293 Differential Revision: D6060595 Pulled By: ericnakagawa fbshipit-source-id: c4755cdb8d99797ff5248ec4eb7e58e2f7ac2588
- Loading branch information...