コード例 #1
0
        public void Bind(Review review)
        {
            _review = review;

            _freshIndicator.Hidden = !review.IsFresh;
            _rottenIndicator.Hidden = !review.IsRotten;

            _criticPublication.Text = string.Format("{0}, {1}", review.critic, review.publication);
            _quote.Text = review.quote;

            LayoutSubviews();
        }
コード例 #2
0
        public ReviewSource()
        {
            Reviews = new Review[]{ };

            _calcCell = new CriticReviewCell(UITableViewCellStyle.Default, ReuseId);
        }