wood burning stoves 2.0*
The moose likes Android and the fly likes Saving View Before Invalidate() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Saving View Before Invalidate()" Watch "Saving View Before Invalidate()" New topic
Author

Saving View Before Invalidate()

Manny Hernandez
Greenhorn

Joined: Oct 31, 2009
Posts: 11

I'll keep it short, guys. How can I save a view before
it "invalidates()" -- like taking a snapshot of it, then
rendering it again before drawing another set of
things to the View.

Note: my current solution is kind of stupid -- that is,
I take a snapshot of the View, save it to a file,
load it again, then draw new stuff, then draw it again.

By the way, my app draws things using touch. I save
it in an ArrayList, delete everything from the
ArrayList with each invalidate().

I hope that makes sense.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Saving View Before Invalidate()
 
Similar Threads
why does my viewport gets accumulated?
invalidate method of HttpSession
How to Store JMX snapshot in JBOSS
clear picture of XML.
Iterative Drawing