Hey Guys, Thank you the suggestion I added the new check and it seems to work. However I have a new problem now. When I run the application everything works fine with images it loads and shows them, but after a while a image is lost. The weak reference is still there and I can test it during debugging however when the images is shown no image appears. I have tracked the issue down to my imagehandler and this use of weak references - if I remove the use of weakreference the images loads fine - however then the application runs out of memory.
Any suggestion is appreciated - is this way of implementing a simple imagecache totally wrong? Regards Bjarke -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Not-catching-null-reference-why-tp5710468p5711366.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid