Ejemplo n.º 1
0
        public void SetReplyStatus(DataStatus reply)
        {
            replyStatus = reply;
            ReplyStatusView.IsVisible      = true;
            ReplyStatusView.BindingContext = replyStatus;
            ReplyStatusView.Update();

            TextEditor.Text = "@" + (reply.RetweetedStatus != null ? reply.RetweetedStatus.Creater.ScreenName : reply.Creater.ScreenName) + " " + TextEditor.Text;
        }
Ejemplo n.º 2
0
        public static FormattedString ParseFormattedString(DataStatus status)
        {
            var builder = new Builder(status.Text);

            ParseURLEntity(builder, status.URLs);
            ParseMediaEntity(builder, status.ExtendMedias);
            ParseMentionEntity(builder, status.UserMentions, status.Issuer);

            return(builder.ToFormattedString());
        }