Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Disposing of items in the Gallery
Disposing of items in the Gallery [message #589348] Thu, 17 April 2008 23:45
Trevor Campbell is currently offline Trevor Campbell
Messages: 23
Registered: July 2009
Junior Member
I am using the Gallery to show a collection of Images and need to dispose
of the image resources when they are no longer needed.

I tried:
DisposeListener mImageDisposalListener = new DisposeListener()
public void widgetDisposed(DisposeEvent e)
GalleryItem item = (GalleryItem) e.widget;

but have found that the widgetDisposed event is not being fired when the
container is disposed of.

Is this a bug? or should I be trying to track and dispose of all the image
resources myself.
Previous Topic:DateChooserCombo preferred width too small
Next Topic:Grid SetColumnOrder
Goto Forum:

Current Time: Mon Jul 28 10:34:34 EDT 2014

Powered by FUDForum. Page generated in 0.08714 seconds