I have read the awesome answer on the internals of Android resources by @hackbod : How does the mapping between android resources and resources ID work?
Here is the brief version: The resources, as you may probably know are compiled to a binary format as resources.arsc
and are available through the Resources
class. These resources are compiled such that they can be easily m-mapped(or mapped to memory).
Now, my question is that are these resources loaded all at once in the memory(presumably during Application process creation) or they are loaded lazily as and when they are required?