Ejemplo n.º 1
0
        private async void GetFollowingMethod()
        {
            if (null == _topic)
            {
                return;
            }

            var result = await _topic.CheckFollowingAsync(LoginUser.Current.Token, _topicId);

            if (null != result.Error)
            {
                ToasteIndicator.Instance.Show(String.Empty, result.Error.Message, null, 3);

                Debug.WriteLine(Regex.Unescape(result.Error.Message));
                return;
            }

            Following = result.Result;
        }