MAUI Compatibility For Xamarin Community Toolkit
Written by Kay Ewbank   
Monday, 06 September 2021

The Xamarin Community Toolkit team has announced two new .NET MAUI-compatible versions of the toolkit, a toolkit and a markup toolkit. .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

The news of the two new versions follows the announcement last month of plans for a .NET MAUI Community Toolkit to replace the current Xamarin Community Toolkit which is being retired. The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms.

net2

The .NET MAUI Community Toolkit is fully open-source and community supported, and the developers say they are currently working on porting the features from Xamarin Community Toolkit to the .NET MAUI Community Toolkit.The new MauiCompat libraries are aligned to the latest release of Xamarin.CommunityToolkit, and include support for iOS and Android.

Announcing the new libraries, Brandon Minnick, a developer advocate at Microsoft said:

“The MauiCompat libraries are created as a helpful step in your migration from Xamarin.Forms to .NET MAUI. These libraries ensure that you can access all of the features of Xamarin.CommunityToolkit in your .NET MAUI apps without breaking changes, helping to make your migration to .NET MAUI easier,”

However, Minnick said that the team recommends eventually replacing Xamarin.CommunityToolkit.MauiCompat with the new .NET MAUI Toolkit, CommunityToolkit.Maui, to take advange of new features and optimizations.

The libraries are released as an alpha version and are being built alongside the preview of .NET MAUI, so there are still some elements that are uncertain. In particular, in the non-renderer controls there are some controls that don’t require a separate renderer such as Shield. Those controls are not supported at the moment.

By contrast, the Markup package should just work as it doesn’t rely on renderers. The team says they did make it compatible with all the current .NET MAUI changes and namespaces so you can continue enjoying the markup extensions as before.

The new libraries are available on NuGet.

 net2

More Information

MAUI On GitHub

Xamarin Community Toolkit On GitHub

MAUI Compatible Library For Xamarin Community Toolkit

MAUI Compatible Markup Library For Xamarin Community Toolkit

Related Articles

.NET MAUI Adds New Layouts

Microsoft Will Replace Xamarin Forms With MAUI .NET

.NET 6 Preview Adds MAUI

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Low Cost ESP32 Drone On Kickstarter
22/09/2024

If you have been looking for an quadcopter that you can experiment with then you might well be interested in LiteWing. It uses an ESP32 to create a $60 drone.



Amazon Donates OpenSearch To Linux Foundation
20/09/2024

Amazon has donated OpenSearch to the Linux Foundation, who has announced that it wll be part of the newly formed OpenSearch Software Foundation, a community-driven initiative under the Linux Foundatio [ ... ]


More News

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 06 September 2021 )