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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Saving View Before Invalidate()