I have a MonoTouch.Dialog view controller with a custom element. My element implements IImageUpdated. In the GetCell method, I'm loading an image...
var logo = ImageLoader.DefaultRequestImage (new Uri (url), this);
if (logo == null) {
cell.ImageView.Image = _defaultImage;
} else {
cell.ImageView.Image = logo;
}
#region IImageUpdated implementation
public void UpdatedImage (Uri uri)
{
// HOW DO I GET THE CELL HERE?
//cell.ImageView.Image = ImageLoader.DefaultRequestImage(uri, this);
}
#endregion
In the UpdatedImage callback, how do I get access to the correct cell to update the image?