// 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); }
// 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); }
// 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); }