- Xamarin.Forms Projects
- Daniel Hindrikes Johan Karlsson David Ortinau
- 321字
- 2021-06-18 18:35:23
Summary
You should now feel a bit more comfortable about what Xamarin is and how Xamarin.Forms relates to Xamarin itself.
In this chapter, we established a definition of what a native app is and saw how it has a native UI, native performance, and native API access. We talked about how Xamarin is based on Mono, which is an open source implementation of the .NET framework, and discussed how, at its core, Xamarin is a set of bindings to platform-specific APIs. We then looked at how Xamarin.iOS and Xamarin.Android work under the hood.
After that, we began to touch on the core topic of this book, which is Xamarin.Forms. We started off with an overview of how platform-agnostic controls are rendered to platform-specific controls and how to use XAML to define a hierarchy of controls to assemble a page. We then spent some time looking at the difference between a Xamarin.Forms app and a traditional Xamarin app.
A traditional Xamarin app uses platform-specific APIs directly, without any abstraction, other than what .NET adds as a platform. Xamarin.Forms is an API that is built on top of the traditional Xamarin APIs and allows us to define platform-agnostic GUIs in XAML or in code that is rendered to platform-specific controls. There's more to Xamarin.Forms than this, but this is what it does at its core.
In the last part of this chapter, we discussed how to set up a development machine on Windows or macOS.
Now, it's time to put our newly acquired knowledge to use! We will start off by creating a to-do app from the ground up in the next chapter. We will look at concepts such as Model–View–ViewModel (MVVM) for a clean separation between business logic and the UI, and SQLite.NET to persist data to a local database on our device. We will do this for three platforms at the same time—so, read on!
- pcDuino開發(fā)實(shí)戰(zhàn)
- 奔跑吧 Linux內(nèi)核(入門篇)
- 嵌入式實(shí)時(shí)操作系統(tǒng)μC/OS原理與實(shí)踐
- 嵌入式實(shí)時(shí)操作系統(tǒng):RT-Thread設(shè)計(jì)與實(shí)現(xiàn)
- 蘋果OS X Mavericks 10.9應(yīng)用大全
- 計(jì)算機(jī)系統(tǒng)的自主設(shè)計(jì)
- OpenSolaris設(shè)備驅(qū)動(dòng)原理與開發(fā)
- Advanced Infrastructure Penetration Testing
- Java EE 7 Developer Handbook
- Linux操作系統(tǒng)案例教程(第2版)
- Java EE 8 High Performance
- Less Web Development Essentials
- 再也不踩坑的kubernetes實(shí)戰(zhàn)指南
- Apache ShardingSphere權(quán)威指南
- OpenSolaris系統(tǒng)管理