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


Google Intensive AI Course - Free On Kaggle
05/11/2024

Google is offering a 5-Day Gen AI Intensive Course designed to equip data scientists with the knowledge and skills to tackle generative AI projects with confidence. It runs on the Kaggle platform from [ ... ]



Prompt Engineering Techniques To Make You An Expert
18/11/2024

Introducing a GitHub repository full of hot tips and instructions on how to build the perfect prompt presented in a collection of Jupiter Notebooks.


More News

espbook

 

Comments




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

Last Updated ( Monday, 06 September 2021 )