-
Notifications
You must be signed in to change notification settings - Fork 516
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
在自定义View里使用,布局不能预览 #148
Comments
live_event_bug_x1.8.0.zip |
想预览用isInEditMode就行了。 |
感谢感谢,太谢谢了,好几年的开发了,这个属性都没注意过!
Barry Lee ***@***.***> 于 2022年1月4日周二 下午5:48写道:
… 想预览用isInEditMode就行了。
—
Reply to this email directly, view it on GitHub
<#148 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVQWHYHD52T75QLMTOKWKTLUUK67NANCNFSM5H25CPBA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述 Bug
自定义view中调用了LiveEventBus.get方法,无法预览,
相关代码
异常堆栈
截图
简单报错
具体详细错误
分析
在此处调用invoke,会在自定义view中预览时抛出Null异常。
invoke 方法会报错
报错后未try catch
The text was updated successfully, but these errors were encountered: