Xamarin Interview Questions and Answers
Question - 41 : - What are the types of Built-in cells?
Answer - 41 : -
The types of built-in cells are:
- TextCell: It is a cell that consists a Title/Primary text and a Detail/Secondary text label.
- ImageCell: It is a text cell which includes the image component in the left.
- SwitchCell: This cell contains Label and the toggle switch.
- EntryCell: This cell contains the Label and single line of textbox which can be used to enter the data.
Question - 42 : - What is the difference between ControlTemplate and DataTemplate?
Answer - 42 : -
ControlTemplate: This template decides how the control should look. It defines the representation style for control.
Question - 43 : - What are the triggers? How many types of triggers are available?
Answer - 43 : -
Triggers allow us to declare actions in XAML, which changes the appearance of the control when specific condition met for a particular property of the control.
We can add triggers at control-level, page-level, or application-level in the resource dictionary. Here are the four types of triggers available. These are:
- Property Trigger: This trigger executes when the property of the control set a particular value.
- Data Trigger: This trigger is similar to a property trigger, but it uses the data binding.
- Event Trigger: This trigger occurs when an event occurs on the control.
- Multi Trigger: This trigger allows us to set the conditions of multiple triggers before the action occurs.
Question - 44 : - What is hockey app?
Answer - 44 : -
Hockeyapp offers the testing service for iOS, Android, and Windows phone.
Question - 45 : - What is TestFlight?
Answer - 45 : -
Apple is the owner of the TestFlight. This is the primary way of the beta test of our Xamarin.iOS apps.
Question - 46 : - What are the types to create the Xamarin applications?
Answer - 46 : -
Here, are the three ways to build the apps in Xmarin.
- Xamarin.Forms
- Xamarin.Android
- Xamarin.iOS.
Question - 47 : - What are the types of apps that are built with Xamarin?
Answer - 47 : - The followings are the 5 types of apps that are built with Xamarin- goal 2014 football manager, the secret society, iLearn for kids, parental access and Toolwiz cleaner.
Question - 48 : - What are the different types of layout control present in the Xamarin .forms?
Answer - 48 : -
There are different types of layout controls present in the Xamarin .forms. Some of them are:
- Content presenter
- Content view
- Frame
- Scroll view
- Template view
- Absolute layout
- Grid
- Relative layout
- Stack layout
Question - 49 : - What is the difference between Native App and Cross Platform APP?
Answer - 49 : -
Native App: If we want to develop native apps, we need to choose the specific native language (C#, Objective-C, Swift, and Java) for developing specific native app for Windows, Android, iOS.
Cross Platform App: This is the way to develop all three mobile apps using single code base wrapped in a native application layer, but it always requires customization of interfaces to native languages.
Question - 50 : - Why Xaml in Xamarin.Forms?
Answer - 50 : -
- XAML(Extensible Application Markup Language) allows developers to define user interfaces in Xamarin.Forms applications using markup rather than code.
- XAML defines the visual appearance of a UI, and an associated code-behind file defines the logic. The UI design can be adjusted without necessarily making changes to the logic in code-behind. XAML in this role simplifies the workflow between individuals who might have a primary visual design responsibility and individuals who are responsible for app logic and information design.