-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
VirtualAPK对Data-Binding的支持 #178
Comments
使用dev分支实验,我验证过并没有发现 |
是不是插件里databinding不支持? |
目前不支持 Data-Binding 框架。 使用该框架会在宿主包和插件包生成固定包名的 android.databinding.DataBinderMapper 类,在运行时通过VirtualAPK的类加载机制只会加载宿主中的类,因此使用DataBindingUtil.setContentView() 等 API 时会返回 null。 由于该框架使用范围较广,未来版本会考虑支持该框架。 |
新版本已支持,请关注dev分支。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前Data-Binding接入会出现 空指针异常
The text was updated successfully, but these errors were encountered: