开发者

Is the integer parameter passed to setContentView(int) a pointer?

I've looked in the generated R file, and the values in there defini开发者_运维知识库tely look like memory addresses, but is that the case?


No. It is a generated number that references the output of aapt.


No, they are not memory addresses. Its just a specially encoded IDs.


No they are not memory address. They are simply auto generated values that are reference by the compiler.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜