Register / Login
Win a copy of
OCP Java SE 8 Programmer II Exam Study Guide
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Saving View Before Invalidate()
posted 6 years ago
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.
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
How to Store JMX snapshot in JBOSS
why does my viewport gets accumulated?
invalidate method of HttpSession
clear picture of XML.