File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes help .. .why we use invalidate() function twice?  Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "help .. .why we use invalidate() function twice?  " Watch "help .. .why we use invalidate() function twice?  " New topic
Author

help .. .why we use invalidate() function twice?

fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 56
Hi
I read Hello Android book and i dont understand some parts of the PuzzleView class of the code. invalidate() function is redrawing only a part of page,not redrawing all the page. this is true?
The following function, why do we use invalidate() twice? what is difference between these two?



Thank you for help
Cheers
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: help .. .why we use invalidate() function twice?
 
Similar Threads
Graphics2D and Math classes in an Applet
How to code a button with image
Colour picker, MouseDown(Event, int x, int y) Depreciation Help!
GCD calculation using Euclidean algorithm fails
OO