This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help .. .why we use invalidate() function twice?
 
jQuery in Action, 3rd edition