onDraw method runs infinitely

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

onDraw method runs infinitely

Postby vishalmk » Tue Feb 26, 2008 9:53 am

When I try to to print a Log.info statement inside the onDraw() method, the log runs infinitely

To me it should be run only when something is drawn on the canvas..

What is right??

Thanks
V
vishalmk
Freshman
Freshman
 
Posts: 6
Joined: Fri Feb 22, 2008 6:21 am

Top

Postby plusminus » Tue Feb 26, 2008 10:54 am

Hello vishalmk,

Views sometimes get invalidated, even if there is no visible change.
How often does the View get invlaidated/do you receive your log-message :?:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests