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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: help .. .why we use invalidate() function twice?