If it's drawing logic, then it's fine :)

On Fri, Apr 3, 2009 at 10:48 AM, Bob <[email protected]> wrote:
>
>> onDraw() should normally not contain any logic code.
>
> All the logic I have is necessary to draw my canvas.  It looks to me
> like that is going on in onDraw in the APIdemos, for example in
> Layers.java.  Am I mistaken here?
>
> Should I be drawing into a bitmap or something when one of my inputs
> changes and then using onDraw to read from that bitmap or something so
> as not to repeatedly do the same thing?
>
> Thanks,
> Bob
>
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  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