I'm using the following code to allocate an image file to a ImageView
control, with instance name: image.

Bitmap bitmap = BitmapFactory.DecodeFile(matches[0]);
image.SetImageBitmap(bitmap);


I tried to dispose of the control's context as follows:
image.Context.dipose(), image.CacheDir.dispose().

But, do I real need to dispose of container control, image? and reassign it?

What is the coding string syntax of the object I need to dispose of?

King

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/MV-full-error-tp5634404p5637084.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to