Skip to content

Commit d97171d

Browse files
committed
update to XF 5
1 parent 506cbca commit d97171d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sharpnado.TaskLoaderView/Sharpnado.TaskLoaderView.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<PackageReleaseNotes>
2626
Fix Snackbar BackgroundColor and CompositeLoader behavior.
27-
BREAKING CHANGE: the task source given to to TaskLoaderNotifier is now a Func{bool, Task} (or a Func{bool, Task{T}}) instead of a Func{Task}.
27+
BREAKING CHANGE: the task source given to to TaskLoaderNotifier is now a Func{bool, Task} (or a Func{bool, Task{T}}) instead of a Func{Task}.
2828
You can simply change your calls from Loader.Load(() => InitializeAsync()); to Loader.Load(_ => InitializeAsync());
2929
The booleand that is passed now to your task source is a boolean indicating if the notifier is refreshing.
3030
You can use it for invalidating your cache for example.
@@ -52,8 +52,8 @@ When the Refresh command will be called, it will pass automatically the isRefres
5252
<Description>Free yourself from IsBusy=true!
5353
The `TaskLoaderView` is a UI component that handles all your UI loading state (Loading, Error, Result, Notification), and removes all the pain of async loading from your view models (try catch / async void / IsBusy / HasErrors / base view models / ...) thanks to its brother the `TaskLoaderNotifier`.
5454

55-
BREAKING CHANGE Version 2.4.0:
56-
The task source given to to TaskLoaderNotifier is now a Func{bool, Task} (or a Func{bool, Task{T}}) instead of a Func{Task}.
55+
BREAKING CHANGE Version 2.4.0:
56+
The task source given to to TaskLoaderNotifier is now a Func{bool, Task} (or a Func{bool, Task{T}}) instead of a Func{Task}.
5757
You can simply change your calls from Loader.Load(() => InitializeAsync()) to Loader.Load(_ => InitializeAsync()) to ignore it if you like.
5858

5959
The boolean that is passed now to your task source is a boolean indicating if the notifier is refreshing.
@@ -105,8 +105,8 @@ Featuring:
105105
<PrivateAssets>all</PrivateAssets>
106106
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
107107
</PackageReference>
108-
<!-- <PackageReference Include="Xamarin.Forms" Version="4.7.0.1260" /> -->
109-
<PackageReference Include="Xamarin.Forms" Version="3.6.0.220655" />
108+
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
109+
<!-- <PackageReference Include="Xamarin.Forms" Version="3.6.0.220655" />-->
110110
</ItemGroup>
111111

112112
<ItemGroup>

0 commit comments

Comments
 (0)