Various technical articles, IT-related tutorials, software information, and development journals
Tuesday, August 6, 2019
Nonpublic Android resources are only hidden from autocomplete
Android libraries can set which resources are "public", exposed to other libraries or apps that use them. However, it looks like all resources for the app, no matter the defining library, go into the same pool. Even though nonpublic resources do not appear in the autocomplete of R lists, they will work perfectly fine if used anyway. Interestingly, resources identifiers with the same name are given the same numeric value across library boundaries.
Labels:
android
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment