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

Reply via email to