Hi Romain,

> > Dare I disagree? I am using home-made widgets and I monitor when they are
> > redrawn. I found out that they were redrawn often, also when not needed. 
> So
> > I used a ViewGroup derived from AbsoluteLayout, stripped as much as
> > possible. The superfluous redrawing now happens less frequently, but I
> > wanted to optimize further.
>
> Instead of trying to optimize further you should figure out exactly
> why they are drawn so often. 
>
How can I know all the actions that android undertakes that I did not ask 
for? The short explanations in the documentation do not help too much, and 
up-to-date source code is unavailable.

> There is definitely nothing in the UI
> toolkit that will redraw all visible views when "there is not enough
> time to redraw some view." That's just not how the UI toolkit works.
>
Maybe the last sentence should be "That's just not how the UI toolkit *is 
supposed to* work"?

Regards,
wboe

-- 
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