Esempio n. 1
0
        public void UpdateCell(string title, string subtitle, bool shouldShowLottie)
        {
            FontUtil.ApplyFontAttribute(this);
            this.TitleLabel.Text    = title;
            this.SubtitleLabel.Text = subtitle;

            if (shouldShowLottie)
            {
                LOTAnimationView animation = LOTAnimationView.AnimationNamed("RightArrow");
                animation.Frame         = this.ImageView.Bounds;
                animation.LoopAnimation = true;
                this.ImageView.AddSubview(animation);
                animation.Play();
            }
        }