private async void ClearCacheExecute() { IsLoading = true; TaskCompleted = false; var files = await this.RetrieveCacheFilesAsync(); foreach (var file in files) { try { NativeUtils.Delete(file.Path); await UpdateCacheSizeAsync(resetInitialCacheSize : false, updateDetailedCacheSizes : false); } catch { } } IsLoading = false; await UpdateCacheSizeAsync(resetInitialCacheSize : true, updateDetailedCacheSizes : true); TaskCompleted = true; }