Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
fahimeh hashemian
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!