public PhotoDetailsViewController (UINavigationController msp, FullUserResponse owner, Image image, bool isModal)
			: base("PhotoDetailsViewController", null)
		{
			_MSP = msp;
			_Image = image;
			_ImageOwner = owner;
			_IsModal = isModal;
			
			Initialize();
		}
		public PhotoDetailsViewController (UINavigationController msp, FullUserResponse owner, Image image, 
			bool isModal, Action backAction)
		{
			this.backAction = backAction;
			_MSP = msp;
			_Image = image;
			_ImageOwner = owner;
			_IsModal = isModal;
			
			Initialize();
		}
示例#3
0
		public PhotoDetailsPanelView (RectangleF rect, FullUserResponse photoOwner, Image image, bool isModal, 
			Action backAction) : base(rect)
		{			
			this.backAction = backAction;
			fullUser = photoOwner;
			
			relation = fullUser.InRelation;
			//TODO user.HasPhoto is not assigned!!!
			user = photoOwner.User;
			_IsModal = isModal;
			
			Initialize (rect);
			UpdateFromUserId();
			
			TappedBlock += OnBlockTapped;
			Tapped += HandleTapped;
		}