Exemplo n.º 1
0
        private async Task <ListResultBase> GetMoreLikes(String request)
        {
            if (null == _notify || LikesLoading == true)
            {
                return(null);
            }

            LikesLoading = true;

            var result = await _notify.CheckLikesAync(LoginUser.Current.Token, request, true);

            LikesLoading = false;

            if (result == null)
            {
                return(null);
            }

            if (result.Error == null)
            {
                return(result);
            }

            ToasteIndicator.Instance.Show(String.Empty, result.Error.Message, null, 3);

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

            return(null);
        }