Enjoy faster development of your cross-platform apps with fewer references and easier setup with the new binaries structure of UI for Xamarin.
Previously, if you needed to customize the Xamarin app for specific platforms—such as UWP, iOS or Android—you needed to refer additional references and add additional code. This is no longer needed!
As an example I'll illustrate what you needed to register a special renderer for iOS before—and what will be needed now:
You had to add the following lines to the AppDelegate.cs file outside the scope of the namespace just after the using statements.
[assembly: ExportRenderer(typeof(Telerik.XamarinForms.DataControls.RadListView), typeof(Telerik.XamarinForms.DataControlsRenderer.iOS.ListViewRenderer))]
ZERO lines of C# code
You will just need to add an x: Name attribute to your xaml definition of component and refer the Telerik.XamarinForms.DataControls
and Telerik.XamarinForms.Common binaries from the iOS folder and you are done. Zero additional code required to register your renderer!
Excited what else we are cooking in our R2 2017 Release? Stay tuned! We are preparing to improve your productivity when creating Xamarin apps. In the meantime, check out our series on the Telerik Developer Network for more tips on working with Xamarin!
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!