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


Meta Releases OpenSource Podcast Generating Tool
28/11/2024

Meta has released an open source project that can be used to automatically convert a PDF file into a podcast. Meta says Notebook Llama can be considered an open-source version of Google's NotebookLM.

 [ ... ]



Visual Studio 17.12 Released Along With Aspire
25/11/2024

Visual Studio 2022 v17.12 is now available. The release can be used for .NET 9 projects and has a range of other improvements.


More News

espbook

 

Comments




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

Last Updated ( Monday, 06 September 2021 )