Introduction to Xamarin.Forms 4
Learn the skills necessary to create multi-platform applications with Xamarin.Forms that provide a rich user experience and run natively across iOS, Android, and Universal Windows Platform (UWP) from a single, shared C# code base.
What you'll learn
The key to success in developing cross-platform mobile apps is efficiency and that’s what Xamarin.Forms provides: coding efficiency.
With Xamarin.Forms, you’re able to create apps that run natively across iOS, Android, and Universal Windows Platform (UWP) from a single C# code base.
In this course, Introduction to Xamarin.Forms, you’ll learn everything you need to build your first cross-platform app using Xamarin.Forms.
In this Xamarin.Forms tutorial you will learn:
- First, how to create a new Xamarin.Forms app that targets and successfully runs on iOS, Android, and UWP.
- After that, you’ll explore how to use Xamarin.Forms views and layouts to create user experiences that leverage the native features of each platform and automatically adapt to the display differences of each.
- Next, you’ll see how to incorporate logic, features, and functionality into your app, and leverage data binding to simplify displaying data to and receiving data from your app’s users.
- Additionally, you’ll delve into how to utilize a Model-View-ViewModel (MVVM) architecture to maintain appropriate separation between your app’s data model and display features.
- Finally, you’ll be shown how to create a rich multi-page app experience that supports communicating between the app pages while maintaining proper separation between the layers of your MVVM architecture.
Table of contents
- Version Check 0m
- Introduction 2m
- The Role of Xamarin.Forms 4m
- Xamarin.Forms Development Setup 3m
- Completing Setup for iOS Development 4m
- Structure of a Xamarin.Forms Solution 3m
- Creating a New Xamarin.Forms Solution 3m
- Taking a Closer Look at Our Solution 3m
- Running on UWP and Android 3m
- Running on iOS from Windows 3m
- Summary 3m
- Introduction 1m
- Xamarin.Forms UI Structure 4m
- Our App 2m
- Create Master-detail App Project 3m
- Setup and Run on iOS and Android Targets 6m
- Customizing the Detail Page with XAML 4m
- Adding Views with Code-behind Support 5m
- Creating and Populating a Picker 3m
- Verifying the Detail Page's Initial Appearance 3m
- Cleaning up the Appearance 3m
- Improving Multi-line Text Handling 2m
- Summary 4m
- Introduction 1m
- Challenges with Our Current Implementation 3m
- Updating Our Design to Model-View-ViewModel 4m
- Migrating Our Page to MVVM 4m
- Binding XAML Values to the ViewModel 3m
- Accessing Data in BaseViewModel 6m
- Loading the Course List with the ViewModel 5m
- Providing Complete Data Binding Support 2m
- Change Notifications 3m
- Understanding How to Provide Change Notifications 4m
- Implementing Change Notifications 4m
- Summary 3m
- Introduction 1m
- Design the Multi-page App Experience 2m
- Adding Notes to the Startup ViewModel 4m
- Displaying Notes within a List 5m
- Handeling Note Selection 7m
- The Role of Pages 1m
- Pages in Our App 4m
- Taking a Closer Look at Page Navigation 5m
- Adding Modal Page Navigation 6m
- MessagingCenter 4m
- Communicating Across App Layers with MessagingCenter 7m
- Summary 4m
Course FAQ
Xamarin.Forms lets you build native user interfaces for Android, iOS, and Universal Windows Platform from one shared C# codebase. It provides multple cross-platform controls and layouts for rich user experiences.
Both let you write code cross platform, but the primary difference between Xamarin.Native and Xamarin.Forms is that in Xamarin.Forms you don't only share the code logic across platforms, but also the code for UI.
It is using Xamarin to write all business logic in a single language while maintaining native performance, look, and feel on multiple different platforms.
While this is an introductory course, in order to get the most out of it you should be familiar with basics of C# programming. If you need to, check out this C# Fundamentals course first.
This course is for anyone who wants to learn Xamarin.Forms! For anyone who wants to become more efficient in developing cross-platform mobile apps, saving time and energy in the process.
Topics include:
- Xamarin.Forms setup and requirements
- UIs with pages, views, and layouts
- Data binding
- Model-View-ViewModel architecture
- Communication across application layers
- Much more