Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有理由在 RenderScript 结构的反射“项目”类中使用默认可见性修饰符?具体来说,我想在绑定根脚本的包之外的包中创建这些项目。由于包管理组织的原因,我希望能够从其他包访问一些反映的数据类型,这样我就不需要创建访问类,如果可能的话。
根据谷歌在一次 Android 开发者视频群聊中收到的回答,由于 RenderScript 工具链的工作原理,除非他们决定更改它,否则开发者无能为力。