Discover how to build cross-platform mobile apps with Xamarin.Forms. In this course—the first in a series—learn about basic page, layout, and navigation concepts.
- [Scott] If you're like me, you've probably created hundreds, or even thousands, of apps targeting desktops, mobile devices, and even the web; and had to adopt a wide variety of language skills to get your app up and running on various platforms. Before Xamarin, and more importantly, Xamarin Forms, you would have needed expertise in at least three languages to create a truly cross-platform app, typically with three distinct development IDEs. If, for example, you wanted to create a Mac or iOS app, you would have had to know Swift or Objective-C. For Android, you'd need to use Java; and for Windows, C# or even Visual Basic.
And of course, none of your code would work in any other language without major modifications. With Xamarin and Xamarin Forms, the concept is simple. Create your user experience in XAML, write your code in C#, and everything else is done. The result is native apps on iOS, Android and Windows, from a single shared code base. This is the magic of Xamarin and the foundation is a great user experience. I'm Scott J. Peterson, and this is Mastering Xamarin Forms Development, Pages, Layouts, and Navigation.
App structure, page layout and navigation truly are the foundation of an app's user experience. But what one user expects on one platform and one operating system, is not what they might expect on another platform. You may think because you're using Xamarin forms, that you're going to be limited to a very tiny subset of controls in order to have your user interface interpreted for other languages. That's absolutely not true. Xamarin Forms includes advanced gesture navigation support, layouts, buttons, labels, lists, and all kinds of common controls that easily connect your backend code to create fully native iOS, Android, and Windows experiences.
By the end of this series, I think you're going to agree that the combination of Xamarin Forms and your development skills can truly create an absolutely phenomenal app experience. So let's take a look at what we're going to be covering in this session. Since this session is the first in our Mastering Xamarin Forms Development series, we're going to quickly review some code sharing concepts before we set up the project that we'll be working on in this series. Then we're going to cover basic UI, page, and layout concepts, and review some of the page and layout controls.
And then we'll flip over to Visual Studio 2017 and create the Xamarin Forms app we'll be working with in this series - a newsreader app we're going to call Paperboy - and demonstrate using pages and layouts in Xamarin Forms apps. Then we're going to talk about some advanced layouts; more complex and nested layouts, things like relative and absolute layouts, and even tabbed navigation. And then update our Paperboy app to use some advanced layouts. And finally we're going to talk about navigation; how to navigate around the page structure of our app in a way that is reasonable and supported across all platforms.
And then, as usual, we'll finish up with some great next steps.
- Code sharing concepts
- Basic UI concepts
- Layout controls
- Using pages and layouts
- Adaptive layouts
- Creating complex layouts
- Adding robust navigation and controls