[android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Guobin
Some comments in ViewRoot.java ViewRoot: The top of a view hierarchy, implementing the needed protocol between View and the WindowManager. BRs Guobin On Feb 20, 4:53 pm, sheng wang banxia...@gmail.com wrote: Hi , Can any one give more information about ViewRoot and what's the relation

Re: [android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Romain Guy
There's only one ViewRoot for an entire view hierarchy (one ViewRoot per window for instance.) There's certainly not one ViewRoot per View, and it's actually pretty clear when reading the code of ViewRoot and/or View. On Sun, Feb 21, 2010 at 10:03 PM, Guobin zzg...@gmail.com wrote: Some comments

Re: [android-developers] Re: relation between ViewRoot and View

2010-02-21 Thread Dianne Hackborn
It's also something that should not be semantically visible from the SDK; it is just an implementation detail, which should be possible to change in the future without impacting the SDK. On Sun, Feb 21, 2010 at 10:05 PM, Romain Guy romain...@android.com wrote: There's only one ViewRoot for an