Exemplo n.º 1
0
        protected override void OnDraw(Canvas canvas)
        {
            if (ScoreSource == null)
            {
                if (XmlSource == null)
                {
                    return;
                }
                ScoreSource = XmlSource.ToScore();
            }

            _innerScore = ScoreSource;
            if (ScoreSource == null)
            {
                return;
            }

            Renderer = new AndroidScoreRenderer(canvas);
            Renderer.Settings.IsPanoramaMode = IsPanoramaMode;

            Renderer.Render(_innerScore);
        }