Have you heard? Xamarin.Forms is now hotter than ever with the new Hot Reload functionality added to its toolbox.
XAML Hot Reload for Xamarin.Forms speeds up your mobile application development and makes it easier to build, experiment, and iterate on your user interface. This means that you no longer have to rebuild your app each time you tweak your UI. When you add a new Telerik control or change its style, just save the XAML and see the result!
And yes... it works with Telerik UI for Xamarin!
For better illustration of the HotReload, I have prepared a short GIF:
This awesome feature also works with changes to resources in App.xaml and with global resource dictionaries, AppShell.xaml
Additionally, you can introduce changes to your CSS, if you use CSS to customize the styling of your Xamarin.Forms apps and work with the latest releases of Visual Studio and Visual Studio for Mac
Microsoft is working hard to boost the productivity of Xamarin developers with a functionality called Hot Restart - effectively, giving you the ability to test the changes made to your app, including multi-file code edits, resources, and references, while using a much faster build and deploy cycle.
As of last month its preview version is already available with the Visual Studio version 16.5 Preview 2 release. For now, it works only with iOS apps using Xamarin.Forms. Support for Visual Studio for Mac is on the roadmap. However, while we all wait for the official version of Hot Restart you can still try it over the iOS versions of your apps built with Telerik UI for Xamarin and a enjoy faster development process deploying edits - just press Ctrl + Shift + F5 and see your new changes applied! You can read more about Hot Restart here.
Xamarin Hot Reload recreates the entire XAML of the edited view, not only the changed element. This causes it to reload the databindings too. For performance optimizations you can set the DataBindings in C#. You can read more about that in this Microsoft post.
Also, XAML Hot Reload currently calls the OnAppearing() method with every refresh, so be mindful of what you load there.
If you want to read more about XAML HotReload and how to speed your development with Telerik UI for Xamarin the following articles are for you:
Rossitza Fakalieva is Manager of the Progress .NET UI & Tools division, which develops the UI for WPF, UI for WinForms, UI for UWP and UI for Xamarin products. She started her career on the Telerik ASP.NET team in 2006 as a support officer and passed through the position of software developer to the position of senior manager. Off work, she enjoys cooking, watching movies and reading books.
Subscribe to be the first to get our expert-written articles and tutorials for developers!