|
24 | 24 |
|
25 | 25 | <PackageReleaseNotes> |
26 | 26 | 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}. |
28 | 28 | You can simply change your calls from Loader.Load(() => InitializeAsync()); to Loader.Load(_ => InitializeAsync()); |
29 | 29 | The booleand that is passed now to your task source is a boolean indicating if the notifier is refreshing. |
30 | 30 | 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 |
52 | 52 | <Description>Free yourself from IsBusy=true! |
53 | 53 | 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`. |
54 | 54 |
|
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}. |
57 | 57 | You can simply change your calls from Loader.Load(() => InitializeAsync()) to Loader.Load(_ => InitializeAsync()) to ignore it if you like. |
58 | 58 |
|
59 | 59 | The boolean that is passed now to your task source is a boolean indicating if the notifier is refreshing. |
@@ -105,8 +105,8 @@ Featuring: |
105 | 105 | <PrivateAssets>all</PrivateAssets> |
106 | 106 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
107 | 107 | </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" />--> |
110 | 110 | </ItemGroup> |
111 | 111 |
|
112 | 112 | <ItemGroup> |
|
0 commit comments