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 Murach's Java Servlets and JSP this week in the Servlets forum!
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Saving View Before Invalidate()
Similar Threads
why does my viewport gets accumulated?
Iterative Drawing
clear picture of XML.
How to Store JMX snapshot in JBOSS
invalidate method of HttpSession