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

            ContentsLoading = true;

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

            ContentsLoading = 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);
        }