How is the compile-time generated R.id.view_id
for view_id attribute that is defined in layout.xml
assigned during that particular view's runtime inflation ?
Obviously attribute names are available during runtime layout.xml
parsing, my question is how is this attribute name view_id
matched at runtime with integer R.id.view_id
in R.java
? (or R.class
for that matter)