Xamarin.Forms 4.0.0 Released

Xamarin.Forms 4.0.0 released with Shell, Android fast renderers, image source unification, and better accessibility.

Recently, Microsoft announced the release of Xamarin.Forms 4.0.0 with Shell, a simplified, navigation-aware container for making building mobile applications more efficient.
 
Top features of the new release include Shell, Android fast renderers, image source unification, and accessibility.
 
The company said that Shell offers an extremely simple syntax to establish your app’s flyout and tab menus and also brings a powerful route based URI navigation service. "The real power of Shell, however, is underneath." Now, all of the renderers will implement the "fast renderer" pattern, and everything will be easily extensible by data templates and renderers.
 
If you want to get started using Shell, you can use the new Shell template in Visual Studio 2019 shipping today.
 
The company had introduced fast renderers for Button, Image, and Label in version 2.4.0 to drastically reduce the number of view groups needed to render those controls. This pattern is now the new performance standard for the renderers that Shell implements. The company has removed the preview label, unsealed them for you to extend, and use them by default.
 
For image source unification, from this point forward everything implements ImageSource. You will be able to use FontImageSource, embedded resources, files, and URIs everywhere without impedance. 
  1. Button.Image // from FileImageSource  
  2. MenuItem.Icon // from FileImageSource  
  3. NavigationPage.TitleIcon // from FileImageSource   
  4. Page.BackgroundImage // from string  
  5. Page.Icon // from FileImageSource  
  6. Slider.ThumbImage // from FileImageSource  
Source: Microsoft 
 
The company said that when you have a modal that goes away, or when you navigate from page to page, you are required to tell the device’s screen reader which element has focus. To this, you can now set the TabIndex on any VisualElement and the native OS will take care of the rest, for you.
 
To learn more you can visit the official announcement here.