-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不支持setOnclickListener(new OnClick(){xxxxx})这种方式 #16
Comments
你的意思是这段代码被转换成native之后,功能就失效了? |
应该是参数不支持interface类型的,OnClickListener是个interface |
这部分没有转换,运行后将会直接crash |
我在测试用例里面测试了map的interface,没没有问题的.方便的话把测试代码发我,我研究下. |
嘛,前来凑个热闹。
DCC支持的,没有问题。我的apk也有类似代码,可以正常运行。
对于你这种情况(log提示该方法是java方法而不是native方法),如果你开启了混肴,我猜是混肴的锅。 我遇到过类似情况,排查了几个小时,才发现是混肴的原因。 |
将如上代码如果写在方法里,如onCreate,转换后其实未实现onClick
The text was updated successfully, but these errors were encountered: