News

Xamarin Mobile Developers Get XAML Hot Reload in Visual Studio 2019 v16.4

Xamarin mobile developers using Visual Studio gained some functionality common to other IDEs as XAML Hot Reload for Xamarin.Forms was introduced with the new Visual Studio 2019 v16.4 release.

Visual Studio 2019 v16.4 shipped last week, including support for .NET Core 3.1 and multiple Xamarin goodies.

"XAML Hot Reload for Xamarin.Forms is now generally available (GA), enabling you to make changes to your XAML UI and see them reflected live, without requiring another build and deploy," said Pierce Boggan, senior program manager, Mobile Developer Tools, in a Dec. 5 blog post. "XAML Hot Reload for Xamarin.Forms speeds up your development and makes it easier to build, experiment, and iterate on your user interface. You no longer have to rebuild your app each time you tweak your UI – it instantly shows you your changes in your running app.

XAML Hot Reload
[Click on image for larger view.] XAML Hot Reload (source: Microsoft).

"Because your application is compiled using XAML Hot Reload, it works with all libraries and third-party controls, is available for iOS and Android, and works on all valid deployment targets, including simulators, emulators, and physical devices. For more information, check out the XAML Hot Reload for Xamarin.Forms documentation."

As we reported earlier, similar functionality is already found in alternative tooling such as React Native and Flutter.

Other new Xamarin functionality and features in Visual Studio 2019 v16.4 mentioned by Boggan include:

  • Android App Bundle Publishing: "We heard your feedback that you wanted smaller Android APKs. With Visual Studio 2019 version 16.4, we have introduced support for the Android App Bundle publishing format. App Bundles provide users with with optimized APKs per their device specifications when downloading an app from the Google Play Store or various Android App Stores."
  • Android X Migration Wizard: "The Android Support Library has had a long history of over the last 7 years providing backwards compatibility to Android framework APIs. Over the years, this library has grown in adoption as the majority of Android apps in the Google Play Store use the Support Library in some fashion today. AndroidX packages are the next generation of Android Support Libraries which includes simplified package names to better reflect each package’s content and it’s supported API levels. Because AndroidX is a redesign of the Android Support Library, it includes migration steps that will affect Android applications built with the Android Support Library."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube