Hi,
I have a custom Monotouch Dialog element which holds image. It is set center
inside the element using following code in my GetCell() method:
------------------
RectangleF parentFrame = UIScreen.MainScreen.Bounds;
_imageView = new UIImageView(GetImageFrame(parentFrame.Width)) {Image =
ScaledImage};
_imageView.ContentMode = UIViewContentMode.Center;
cell.ContentView.AddSubview(_imageView);
------------------
My problem is that GetCell() is not getting called on rotation and I don't see
any events I can override to handle rotation.
What do I need to do to catch rotation and adjust my layout?
Thank you.
Cheers,
Andre
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch