官术网_书友最值得收藏!

  • 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
主站蜘蛛池模板: 平顺县| 京山县| 霍林郭勒市| 左云县| 永年县| 文成县| 丰原市| 博乐市| 克拉玛依市| 新闻| 搜索| 新民市| 景谷| 宝兴县| 肇庆市| 莱阳市| 罗源县| 宝坻区| 清镇市| 安陆市| 博野县| 梨树县| 夏河县| 方城县| 奇台县| 宝山区| 晋宁县| 青冈县| 万源市| 闻喜县| 遂平县| 涪陵区| 漠河县| 祁阳县| 敦煌市| 肃宁县| 本溪| 沛县| 大悟县| 茌平县| 分宜县|