public void AddAttachmentText(Java.Lang.ICharSequence text) { var label = MessageCellSubviews.GetBodyLabel(this); label.SetText(text, TextView.BufferType.Spannable); AddView(label); }
public int AddHeroImage() { var imageCount = HeroImageViews.Count; var image = MessageCellSubviews.GetHeroImageView(this); //image.AddConstraint (NSLayoutConstraint.Create (image, NSLayoutAttribute.Height, NSLayoutRelation.Equal, 0, HeroImageSize.Height)); //image.AddConstraint (NSLayoutConstraint.Create (image, NSLayoutAttribute.Width, NSLayoutRelation.Equal, 0, HeroImageSize.Width)); AddView(image); HeroImageViews.Add(image); return(imageCount); }