MyGit

v2.5.1

roubachof/Sharpnado.TaskLoaderView

版本发布时间: 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" />

相关地址:原始地址 下载(tar) 下载(zip)

1、 Sharpnado.Maui.TaskLoaderView.2.5.1.nupkg.zip 31.57KB

2、 Sharpnado.TaskLoaderView.2.5.1.nupkg.zip 31.52KB

查看:2022-06-23发行的版本