- Xamarin.Forms Projects
- Daniel Hindrikes Johan Karlsson David Ortinau
- 203字
- 2021-06-18 18:35:25
Building a News App Using Xamarin.Forms Shell
In this chapter, we will create a news app that leverages the new Shell navigation functionality provided to us by the Xamarin team at Microsoft. The old way still works—no worries, but we are sure that you will enjoy the new way of defining the structure of your app. Also, you can mix and match old and new as well.
By the end of this chapter, you will have learned how to define an app structure using Shell, consume data from a REST API and configure navigation and passing data between views using query style routes.
So what is Shell, then? In Shell, you define the structure of your app using Extensible Application Markup Language (XAML) instead of hiding it in spread-out pieces of code in your app. You can also navigate using routes, just like those fancy web developers are doing.
The following topics will be covered in this chapter:
- Defining a Shell navigation page
- Creating a flyout
- Creating a navigation bar
- Navigating using routes and passing data in query strings
- Consuming data from a public representational state transfer (REST) application programming interface (API)
- Adding content in the form of a CollectionView control
- pcDuino開發實戰
- 從零開始寫Linux內核:一書學透核心原理與實現
- Red Hat Enterprise Linux 8系統管理實戰
- Arch Linux Environment Setup How-to
- Linux性能優化
- SharePoint 2013 WCM Advanced Cookbook
- 深入Linux內核架構與底層原理(第2版)
- Windows Server 2019 Administration Fundamentals
- Linux運維最佳實踐
- Python UNIX和Linux系統管理指南
- Windows Vista終極技巧金典
- 鴻蒙操作系統設計原理與架構
- UI設計手繪表現從入門到精通
- Android NDK Beginner's Guide
- 鴻蒙HarmonyOS應用開發入門