Two Laptop Bag
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

Saving View Before Invalidate()

Manny Hernandez

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:
subject: Saving View Before Invalidate()
It's not a secret anymore!