• +91 9723535972
  • info@interviewmaterial.com

Xamarin Interview Questions and Answers

Xamarin Interview Questions and Answers

Question - 21 : - What are the advantages of XAML?

Answer - 21 : -

The advantages of XAML are:

  • XAML gives a clean division of the application and its code. Thus, it enables a clear developer-design flow.
  • XAML is more crisp and precise than a similar code.
  • XAML has the parent-child hierarchy of user-interface objects with greater visual interface simplicity

Question - 22 : - What are the Views?

Answer - 22 : -

Views are known as control of widgets. They can be visual objects such as Label, Button, Entry, BoxView, ListView, TableView, etc. All the UI elements are the sub-classes of view.

Question - 23 : - What is the difference between ListView And TableView?

Answer - 23 : -

ListView and TableView controls are similar. We can take them as a single control. The major difference between them is how they layout the items.

ListView: ListView control displays the stacks of data vertically. It is just like a standard Listbox. We use this control to display the order of data in the list, especially the long list, that requires scrolling, like a list of email messages, a list of contacts, or search results.

TableView: TableView displays the stacks of data horizontally in rows. We use this control when we need more space for rich visualization of the item to be displayed.

Question - 24 : - What are the types of the App which use Xamarin?

Answer - 24 : -

The different types of apps which use the Xamarin are:

  • OLO- an online platform to order food.
  • The World Bank survey app- This App is used for the global survey.
  • Storyo- This App helps to create videos from the picture.
  • Freshdirect- This App is our friendly grocer.
  • Just Giving- a philanthropic interface.

Question - 25 : - What are the different types of scenario used in Xamarin.Forms?

Answer - 25 : -

The scenario used by the Xamarin.Forms are:

  • View to view binding
  • Backward bindings
  • Binding with the collections
  • Binding with the models

Question - 26 : - What is the App.cs class?

Answer - 26 : -

App.cs is the main class of the App which offers features like:

MainPage: It helps us to set the initial page of the App.
Properties Dictionary: It helps us to store the values across the state of the lifecycle.
Static Current Property: It gives the instance of the current application object

Question - 27 : - What is the difference between Xamarin. Forms and Xamarin Native?

Answer - 27 : -

Xamarin.Forms :

Xamarin.Forms are used when:

  • the requirement of the code is less in the platform-specific scenario.
  • Code-sharing is more important than custom UI.
  • The UI is not complex.
Xamarin Native:

Xamarin Native is used when:

  • a lot of platform-specific code is required.
  • Custom UI is more important than code sharing.
  • When platform-specific APIs are used.

Question - 28 : - What is ResourceDictionary?

Answer - 28 : -

ResourceDictionary is used to define the XAML Resources, which can be reused more than once throughout the Xamarin.Forms application.

  • Xaml Resources are the definition of objects which can be used more than once.
  • ResourceDictionary allows all the resource objects declared at one place.
  • We can define Styles, ControlTemplates, DataTemplates, Colors, and Converters into the ResourceDictionary.
  • In XAML, resources can be accessed at the Element level (inside specific element), Page (inside page) level or Application Level (inside App.Xaml).

Question - 29 : - What is the HTTP client?

Answer - 29 : -

HTTPClient helps the developers to connect with the external world through the internet using the REST-based services. HTTPClient class is used for sending the HTTP requests and receiving HTTP response from a resource, which is identified by URI. HTTPClient class present in System.Net.HTTP namespace.

Question - 30 : - What is NuGet and how this can be useful in App development?

Answer - 30 : -

NuGet is the most popular package manager for the development in .Net. It is present in Xamarin Studio 5 and Visual Studio. We can easily search and add package/third party libraries to the Xamarin.Forms using IDE.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners