Could the method Javadoc for invalidate() and requestLayout() have
{@see ...} to each other?There's a lot to learn when you're a newbie to a framework. I've lost hours on this. Yes, I now see the info at the top of the View class Javadoc, but it would have been handy to have a pointer to it in the place I went looking (the method Javadoc). On Jan 13, 5:30 pm, Dianne Hackborn <[email protected]> wrote: > Basically, yes. Invalidate says something in your visuals has changed so > you need to be redrawn; requestLayout() says something structural has > changed so a new layout is needed (which also implies eventually redrawing). > > > > > > > > > > On Thu, Jan 12, 2012 at 6:53 PM, harvinder <[email protected]> wrote: > > It is my understanding is that when invalidate() is called on ViewGroup > > derived class onDraw gets called. However, when requestLayout is called > > onMeasure and onLayout gets called. > > > Is my understanding correct? > > > Truly > > harvinder > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

