There are several disadvantages of Xaml in Xamarin. Forms which can be explained by the following points
  • XAML is incapable of containing the code. Usually, the code file must contain all the event handlers.
  • XAML does not have the feature of loops for repetitive processing. There are some tools such as ListView, that can generate various children and do further processing.
  • Conditional processing cannot be contained by XAML. However, the data binding feature eventually allows some of the conditional processing.
  • Classes that do not define parameterless constructor, cannot be instantiated by XAML.
  • Generally, methods cannot be called XAML.
BY Best Interview Question ON 02 Oct 2019