over ride ondestroy or have a look here to see what's good. http://d--buzz.com/wp-content/uploads/2011/07/android_application_life_cycle.gif
On Mon, Jun 18, 2012 at 9:40 AM, Tomasz Cielecki <tom...@ostebaronen.dk>wrote: > The bitmap itself has a Recycle() method this can be used to tell the > Java GC that the object has been disposed. > > You can override the Finish() method in your activity to dispose the > objects you don't need anymore. > > On Mon, Jun 18, 2012 at 4:16 PM, Matthew Leibowitz > <mattleibowm...@gmail.com> wrote: > > Hi all, > > > > As my last question suggested, I am working with images. I cache the lo > res > > in an array member of a view, but how do I dispose of the images? > > I tried overriding the Dispose(bool) method, but that doesn't seem to be > > called when the Activity is closed. > > > > What am I doing wrong? :) Is there another method/place? > > > > The "dispose" should be called when the containing activity is closed, > but I > > don't want either the Activity or the View to know about each other. > > This is because they are used in a few places, but in slightly different > > ways. > > > > Matthew > > > > _______________________________________________ > > Monodroid mailing list > > Monodroid@lists.ximian.com > > > > UNSUBSCRIBE INFORMATION: > > http://lists.ximian.com/mailman/listinfo/monodroid > > > > > > -- > Med Venlig Hilsen / With Best Regards > Tomasz Cielecki > http://ostebaronen.dk > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > -- Extreme Knowledge is not something for which he programs a computer but for which his computer is programming him. -Wozniak
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid