Skip to content

Commit 8ab948d

Browse files
authored
Revise README for MAUI support and cleanup of XF docs
1 parent 3bcc8e0 commit 8ab948d

File tree

1 file changed

+9
-31
lines changed

1 file changed

+9
-31
lines changed

README.md

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
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`.
44

5-
| MAUI Supported platforms | XF Supported platforms |
6-
|----------------------------|----------------------------|
7-
| <img src="Docs/maui_logo.png" height="100" /> | <img src="Docs/tlv_icon_tos.png" height="100" />|
8-
| [![Nuget](https://img.shields.io/nuget/v/Sharpnado.Maui.TaskLoaderView.svg)](https://www.nuget.org/packages/Sharpnado.CollectionView) | [![Nuget](https://img.shields.io/nuget/v/Sharpnado.TaskLoaderView.svg)](https://www.nuget.org/packages/Sharpnado.CollectionView) |
9-
| :heavy_check_mark: Android | :heavy_check_mark: Android |
10-
| :heavy_check_mark: iOS | :heavy_check_mark: iOS |
11-
| :heavy_check_mark: Windows | :heavy_check_mark: Windows |
12-
| :heavy_check_mark: macOS | :heavy_check_mark: macOS |
5+
| MAUI Supported platforms |
6+
|----------------------------|
7+
| <img src="Docs/maui_logo.png" height="100" /> |
8+
| [![Nuget](https://img.shields.io/nuget/v/Sharpnado.Maui.TaskLoaderView.svg)](https://www.nuget.org/packages/Sharpnado.CollectionView) |
9+
| :heavy_check_mark: Android |
10+
| :heavy_check_mark: iOS |
11+
| :heavy_check_mark: Windows |
12+
| :heavy_check_mark: macOS |
1313

1414

1515
**Featuring:**
@@ -45,40 +45,18 @@ public static class MauiProgram
4545
var builder = MauiApp.CreateBuilder();
4646
builder
4747
.UseMauiApp<App>()
48+
.ConfigureTaskLoader(true) // logger enabled
4849
.ConfigureFonts(fonts =>
4950
{
5051
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
5152
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
5253
});
5354

54-
Initializer.Initialize(true); // logger enabled
55-
5655
return builder.Build();
5756
}
5857
}
5958
```
6059

61-
### Xamarin.Forms
62-
63-
Add the [Sharpnado.TaskLoaderView](https://www.nuget.org/packages/Sharpnado.Maui.TaskLoaderView) nuget package.
64-
65-
And call the initializer in your `MauiProgram.cs` file:
66-
67-
```csharp
68-
public partial class App : Application
69-
{
70-
public App()
71-
{
72-
InitializeComponent();
73-
74-
// TaskMonitorConfiguration.ConsiderCanceledAsFaulted = true;
75-
76-
Initializer.Initialize(true); // logger enabled
77-
MainPage = new NavigationPage(new MainPage());
78-
}
79-
}
80-
```
81-
8260
## 2.5.0 MAUI support \o/ and TemplatedTaskLoader
8361

8462
Version 2.5.0 now supports .Net MAUI.

0 commit comments

Comments
 (0)