v2.5.1
版本发布时间: 2022-06-23 23:22:10
roubachof/Sharpnado.TaskLoaderView最新发布版本:v2.5.1(2022-06-23 23:22:10)
Builder for the CompositeTaskLoader
If you want to bind on the same snackbar loaders, and commands, there is now a nice builder.
With this change you can now use a TemplatedTaskLoader
and a snackbar and making them play nicely together.
CompositeNotifier = CompositeTaskLoaderNotifier.ForCommands()
.WithLoaders(Loader)
.WithCommands(BuyGameCommand, PlayTheGameCommand)
.Build();
And you bind the ShowLastError
on your snackbar:
<tlv:Snackbar Grid.Row="1"
Margin="15"
VerticalOptions="End"
BackgroundColor="White"
FontFamily="FontAtariSt"
IsVisible="{Binding CompositeNotifier.ShowLastError, Mode=TwoWay}"
Text="{Binding CompositeNotifier.LastError, Converter={StaticResource ExceptionToErrorMessageConverter}}"
TextColor="{StaticResource TextPrimaryColor}"
TextHorizontalOptions="Start" />
- Fix for the timed visibility when the snackbar (or a ITimedVisibilityText implementation) text is changing.
1、 Sharpnado.Maui.TaskLoaderView.2.5.1.nupkg.zip 31.57KB
2、 Sharpnado.TaskLoaderView.2.5.1.nupkg.zip 31.52KB