Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Customize and add advanced features to Xamarin.Forms apps

Microsoft via Microsoft Learn

This course may be unavailable.

Overview

  • Module 1: Find out how to create a .NET Standard library to share code between iOS and Android projects in Xamarin.Forms enabling execution from a shared code base.
  • In this module, you will:

    • Structure your shared code by using .NET Standard
    • Locate dependencies by using the factory pattern
    • Use a service locator to register and retrieve dependencies
    • Use an inversion-of-control (IoC) container to automatically inject dependencies
  • Module 2: Explore ways to keep your UI properties synchronized when data changes by using Xamarin.Forms, while also improving code readability and reducing maintenance.
  • In this module, you will:

    • Synchronize data between your UI and code-behind by using bindings
    • Minimize coupling between your UI and code-behind to enable easy UI changes
  • Module 3: In this module, you'll populate the Xamarin.Forms ListView and customize each row to create an application that displays dynamic data in a scrollable container.
  • In this module, you will:

    • Create a ListView control and populate it with items
    • Respond when the user interacts with the ListView control
    • Customize the appearance of a ListView row by using built-in cell types
  • Module 4: Create custom cell layouts that fit the shape of your data. Group related cells together to help your users find what they're interested in.
  • In this module, you will:

    • Create custom cell layouts for a ListView
    • Use multiple cell layouts in a single ListView
    • Group cells into sections
  • Module 5: Discover how to improve your code testability through business logic and user interface code by using the MVVM design pattern.
  • In this module, you will:

    • Identify when to use the Model-View-ViewModel pattern
    • Use a viewmodel to drive visual behavior
    • Improve code testability through data-bindable properties
  • Module 6: This module guides you through implementing drawer navigation and split view by using Xamarin.Forms MasterDetailPage and its MasterBehavior property.
  • In this module, you will:

    • Choose between split and pop-over for your master view
    • Switch between pages by using pop-over drawer navigation
    • Display a collection by using master-detail split view
  • Module 7: Extend the built-in functionality of Xamarin.Forms by modifying existing controls and creating new custom controls.
  • In this module, you will:

    • Modify an existing control's renderer
    • Create a new control with a new renderer
    • Send notifications between a Xamarin.Forms element and native controls
  • Module 8: Learn how to use effects to customize and add functionality to Xamarin.Forms elements to make good use of native features in iOS and Android.
  • In this module, you will:

    • Apply an effect in Xamarin.Forms
    • Create an effect to customize behavior
    • Add configuration options to an effect
  • Module 9: In this module, you'll use TwoPaneView and DualScreenInfo to
  • In this module, you will:

    • Add dual-screen support to a Xamarin.Forms app
    • Add a TwoPaneView control to customize the UI for single- and dual-screens
    • Customize the layout using the DualScreenInfo class
    • See how TwoPaneView also adapts to larger screens, and how to detect hinge angle changes

Syllabus

  • Module 1: Explore cross-platform design patterns for Xamarin apps
    • Introduction
    • Share code by using .NET Standard libraries
    • Use an interface to create an abstraction
    • Use an abstract class to create an abstraction
    • Use inversion of control (IoC) to manage platform-specific dependencies
    • Locate dependencies by using the factory pattern
    • Exercise - Use the factory pattern to access a dependency from shared code
    • Use a service locator to register and retrieve dependencies
    • Exercise - Add an abstraction and service locator to your project to find and use a platform-specific feature
    • Use an IoC container to automatically inject dependencies
    • Exercise - Switch to an IoC container and inject your dependency into your code
    • Summary
  • Module 2: Separate your UI and code with Xamarin.Forms data binding
    • Introduction
    • Use data binding in Xamarin.Forms
    • Exercise - Replace code with Xamarin.Forms bindings
    • Customize data bindings with specific capabilities
    • Exercise - Implement INotifyPropertyChanged to enable immediate UI updates
    • Create bindings where types don't match
    • Exercise - Create a binding with a value converter
    • Summary
  • Module 3: Display collections in Xamarin.Forms apps by using ListView
    • Introduction
    • Display a collection by using ListView
    • Exercise - Display a collection by using ListView
    • Dynamically add and remove ListView items
    • Customize the appearance of ListView rows
    • Exercise - Customize the appearance of ListView rows
    • Summary
  • Module 4: Customize a Xamarin.Forms ListView
    • Introduction
    • Use a ViewCell
    • Use multiple cell layouts in a ListView
    • Exercise - Create and use multiple custom cell templates
    • Separate data into groups
    • Exercise - Group rows by the first letter of the name
    • Summary
  • Module 5: Design an MVVM viewmodel for Xamarin.Forms
    • Introduction
    • What is MVVM?
    • Use a viewmodel
    • Exercise - Manage selection by using a viewmodel
    • Use commands in a viewmodel
    • Summary
  • Module 6: Display relationships in Xamarin.Forms with master-detail navigation
    • Introduction
    • Choose between split and pop-over for your master view
    • Define the UI for drawer navigation
    • Exercise - Define drawer navigation UI by using Xamarin.Forms
    • Switch between pages in a drawer menu
    • Exercise - Respond to item selection in your drawer menu
    • Display a collection by using a split view
    • Exercise - Display a collection by using a master-detail split view
    • Summary
  • Module 7: Create custom controls with Xamarin.Forms renderers
    • Introduction
    • Understand renderers
    • Customize existing elements with derived renderers
    • Exercise - Extend an existing renderer
    • Create a new Xamarin.Forms element with renderers
    • Exercise - Create a custom element
    • Send notifications between a renderer and an element
    • Exercise - Communicate between an element and a renderer
    • Summary
  • Module 8: Use effects in Xamarin.Forms
    • Introduction
    • Apply an effect to a Xamarin.Forms element
    • Create an effect to use native APIs
    • Exercise - Create an effect
    • Configure an effect by using attached bindable properties
    • Exercise - Add configurable properties to an effect
    • Summary
  • Module 9: Build dual-screen Xamarin.Forms apps by using TwoPaneView
    • Introduction
    • Display content on dual-screens
    • Exercise - Add TwoPaneView to a Xamarin.Forms app
    • Detect and respond to spanning/unspanning the app
    • Exercise - Use DualScreenInfo to update layouts after spanning
    • Layout changes and larger screens
    • Exercise - Support tablet and desktop screen sizes
    • Detecting changes in the hinge angle
    • Summary

Reviews

Start your review of Customize and add advanced features to Xamarin.Forms apps

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.