Skip to Content
0
Former Member
Feb 27, 2009 at 04:01 PM

container.destroy() or resetView()?

31 Views

Hallo,

I want delete all elements of my container when refreshing, so in my method I have the following:

container.destroyAllChildren();

container.destroy();

container = null;

But sometimes I get an exception about the destroy.

Can I use the resetView instead of detroy methods?

myView.resetView();

container=null;

Thanks...

Andrea