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] Fri, 18 April 2008 03:45
Trevor Campbell is currently offline Trevor CampbellFriend
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: Wed Oct 07 02:43:28 GMT 2015

Powered by FUDForum. Page generated in 0.03168 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software