Exemplo n.º 1
0
        private void GetReplies()
        {
            var convService = new ConversationService(DataTransfer.CurrentAccount);

            convService.Finished += (sender, e) => IsLoading = false;
            convService.GetConversationForStatus(Tweet, (statuses, response) =>
            {
                if (statuses != null)
                {
                    var statuses_noRepeat = statuses.Cast <ITweetable>().Except(Replies).ToList();
                    foreach (var status in statuses_noRepeat)
                    {
                        Replies.Add(status);
                    }
                }
            });
        }