aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
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: 85
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help .. .why we use invalidate() function twice?