Ejemplo n.º 1
0
        // Create the UIViews that we will use here, layout happens in LayoutSubviews
        public TweetCell(UITableViewCellStyle style, NSString ident, Tweet tweet) : base(style, ident)
        {
            SelectionStyle = UITableViewCellSelectionStyle.Blue;

            tweetView = new TweetCellView(tweet);
            UpdateCell(tweet);
            ContentView.Add(tweetView);
        }
Ejemplo n.º 2
0
        // Create the UIViews that we will use here, layout happens in LayoutSubviews
        public TweetCell(UITableViewCellStyle style, NSString ident, Tweet tweet)
            : base(style, ident)
        {
            SelectionStyle = UITableViewCellSelectionStyle.Blue;

            tweetView = new TweetCellView (tweet);
            UpdateCell (tweet);
            ContentView.Add (tweetView);
        }
Ejemplo n.º 3
0
		// Create the UIViews that we will use here, layout happens in LayoutSubviews
		public ActivityCell (UITableViewCellStyle style, NSString ident, UIActivity tweet, 
		                     Action<int> goToMembersPhotoAction, Action<UIActivity> goToPhotoDetailsAction)
			: base (style, ident)
		{
			SelectionStyle = UITableViewCellSelectionStyle.None;
			
			tweetView = new TweetCellView (tweet, goToMembersPhotoAction, goToPhotoDetailsAction);
			ContentView.Add (tweetView);
		}