Exemplo n.º 1
0
		public PhotoDetailsViewController (UINavigationController msp, FullUserResponse owner, Image image, bool isModal)
			: base("PhotoDetailsViewController", null)
		{
			_MSP = msp;
			_Image = image;
			_ImageOwner = owner;
			_IsModal = isModal;
			
			Initialize();
		}
Exemplo n.º 2
0
		public PhotoDetailsViewController (UINavigationController msp, FullUserResponse owner, Image image, 
			bool isModal, Action backAction)
		{
			this.backAction = backAction;
			_MSP = msp;
			_Image = image;
			_ImageOwner = owner;
			_IsModal = isModal;
			
			Initialize();
		}
Exemplo n.º 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;
		}