Esempio n. 1
0
        public void DownloadProfileImageAsync(
            IUserDTO userDTO,
            string filePath,
            Action <bool> successAction,
            Action <long, long> progressChangedAction = null,
            ImageSize imageSize = ImageSize.normal)
        {
            var url = _userQueryGenerator.DownloadProfileImageURL(userDTO, imageSize);

            _webDownloader.DownloadFileAsync(url, filePath, successAction, progressChangedAction);
        }