thanks for the answer.
On Aug 15, 9:30 pm, Romain Guy wrote:
> If antialiasing is enabled, that would happen.
>
> On Mon, Aug 15, 2011 at 12:28 PM, sblantipodi
> wrote:
>
>
>
>
>
>
>
>
>
> > As title.
>
> > Can you tell me why when using Canvas I have this strange behaviour?
>
> > If I draw a rec
Well, it would appear that all these extra calls to onDraw() are
because my base Activity extends MapActivity.
Just having a MapView seems to be causing this, even though nothing in
the view actually requires updating. I don't suppose there's anything
I can do about that?
--
You received this me
While that is indeed a useful tool to have in reserve in one's toolbox
-- generally, as in this case, it's better to set a breakpoint in the
debugger, and have a look around.
Even better, in this case, would be to ALSO set a method entry
breakpoint on View.invalidate(int, int, int, int) -- and may
You could see whats calling it with a quick:
try {
throw new Exception();
} catch (Exception e) {
e.printStackTrace();
}
On Wed, Feb 3, 2010 at 5:11 PM, jamesc wrote:
> Perhaps you're indirectly calling invalidate() in the onDraw(),
> resulting in a redraw loop?
>
> On Feb 3, 10:00 pm, Neilz w
Perhaps you're indirectly calling invalidate() in the onDraw(),
resulting in a redraw loop?
On Feb 3, 10:00 pm, Neilz wrote:
> What else can cause onDraw() to be called, if I'm not triggering it
> with invalidate()?
--
You received this message because you are subscribed to the Google
Groups "A
What else can cause onDraw() to be called, if I'm not triggering it
with invalidate()?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group,
It is being called... between 5-10 times a second. I just set up a
routine to check. And I'm most definitely not calling invalidate() on
these occasions.
On Feb 3, 2:04 pm, schwiz wrote:
> your draw routine should only be called if you call invalidate on your
> view or its parent view.
>
> On Feb
your draw routine should only be called if you call invalidate on your
view or its parent view.
On Feb 3, 7:46 am, Neilz wrote:
> Hi all.
>
> When overiding onDraw() in my View, is it possible to say "Don't draw
> anything new, just keep what was there the last time"?
>
> In my app, I only want t
8 matches
Mail list logo