Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help .. .why we use invalidate() function twice?
 
It's not a secret anymore!