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 for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube