Doubts regarding implementing Native UI's click handler for android? #58
Unanswered
BraveEvidence
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a spec file as follows
Then on native side I created following files
So I have few questions regarding this
OnClickHandler
totopOnClickHandler
in Native Android side. It. was throwinghermes
error. Not sure why this is necessary and why there should betop
prefix, why can't it just beOnClickHandler
dispatch
andRCTEventEmitter
as both are deprecated? I was looking intoRCTModernEventEmitter
and it also extends the deprecatedRCTEventEmitter
Beta Was this translation helpful? Give feedback.
All reactions