[MonoTouch] Changing custom MTD Element layout on rotation

2012-07-04 Thread Andre Dobroskok
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 = Scaled

[MonoTouch] Pull down to refresh in MTD

2012-07-04 Thread Andre Dobroskok
Hi All, I am trying to use "pull down to refresh" feature in my custom DialogViewController, however when I pull down I get spinning gear and word "Loading" instead of flipping arrow. Am I missing something?     Cheers, Andre___ MonoTouch mailing list

[MonoTouch] Row heights wrong after deploy to device

2012-07-05 Thread Andre Dobroskok
Hi All, I have been debugging my app inside iOS simulator, now I tried to build in Release for iPhone and for some reason cell heights are not calculated properly. I.e. all rows in the table have same (default?) height. On the simulator all heights calculated correctly. Is there something speci

Re: [MonoTouch] Row heights wrong after deploy to device

2012-07-08 Thread Andre Dobroskok
sk if I can't figure out what is the problem.   Cheers, Andre >____ > From: Miguel de Icaza >To: Andre Dobroskok >Cc: "monotouch@lists.ximian.com" >Sent: Friday, 6 July 2012 11:59 AM >Subject: Re: [MonoTouch] Row heights wrong after

Re: [MonoTouch] Row heights wrong after deploy to device

2012-07-08 Thread Andre Dobroskok
Thanks your response. It seem to be "kinda working" at the moment, even rotation works to my surprise. I am going through the logs at the moment trying to understand some of the crashes I get in obscure places, but I suspect that it might be down to the use of anonymous handlers you wrote about.

[MonoTouch] UITapGestureRecognizer can't get to work

2012-08-05 Thread Andre Dobroskok
Hi All, I am trying to implement trivial full screen image view in response to user clicking a thumbnail. I have written following controller to show image: public class ImagePreviewController : UIViewController { private UIImage _image; private UIImageView _fullScreenImageVie

Re: [MonoTouch] UITapGestureRecognizer can't get to work

2012-08-06 Thread Andre Dobroskok
ey don't require a >full class. > >If that doesn't help then ensure that your view has UserInteractionEnabled >set to true. I think UIImageViews might default to false. >-- >Adam Kemp >adam.k...@ni.com >(512) 683-6058 > >monotouch-boun...@lists.ximian.com

[MonoTouch] MPMoviePlayerController does not show up

2012-08-21 Thread Andre Dobroskok
Hi All, I am trying to add MPMoviePlayerController to my app and for some reason I get just the blank screen. Here is what I do:     public  class VideoPlayerController : UIViewController     {         public VideoPlayerController() : base(null, null)         {             _videoFileUrl = NSUrl