Skip to content

Commit

Permalink
Bump version to 2.2.0 and update README.md.
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
SKProCH committed Jun 18, 2022
1 parent c59582e commit 5d14a96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions AsyncImageLoader.Avalonia/AsyncImageLoader.Avalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
<RepositoryType>git</RepositoryType>
<PackageTags>image cross-platform avalonia avaloniaui c-sharp-library</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Version>2.1.1</Version>
<PackageReleaseNotes>- Fix loading from disk cache</PackageReleaseNotes>
<Version>2.2.0</Version>
<PackageReleaseNotes>
- Add support for avares and resm #1
- Add logging to avalonia logger
</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ Note: The first time you will need to import the AsyncImageLoader namespace to y
<!-- Your root element content -->
```

### About resources and assets
AsyncImageLoader **support** `resm:` and `avares:` links.
And does **not** support relative referenced assets such as `Source="icon.png"` or `Source="/icon.png"`. Here's an [issue](https://github.com/AvaloniaUtils/AsyncImageLoader.Avalonia/issues/2) that describes why.
Assets and resources in Avalonia described [here](https://docs.avaloniaui.net/docs/getting-started/assets).

## Loaders
ImageLoader will use instance of [IImageLoader](https://github.com/AvaloniaUtils/AsyncImageLoader.Avalonia/blob/master/AsyncImageLoader.Avalonia/IAsyncImageLoader.cs) for serving your requests.
You can change the loader used by setting new one to the [ImageLoader.AsyncImageLoader](https://github.com/AvaloniaUtils/AsyncImageLoader.Avalonia/blob/master/AsyncImageLoader.Avalonia/ImageLoader.cs#L10) property. Do not forget to Dispose previous loader.
Expand Down

0 comments on commit 5d14a96

Please sign in to comment.