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

  • 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
主站蜘蛛池模板: 兴山县| 交口县| 泌阳县| 莱西市| 湄潭县| 康平县| 玉山县| 丹巴县| 湾仔区| 兴城市| 德化县| 连州市| 平江县| 丰都县| 柳江县| 闸北区| 图们市| 嘉善县| 大余县| 铜陵市| 介休市| 廊坊市| 崇文区| 吴忠市| 红安县| 东台市| 兴义市| 景德镇市| 安康市| 湖南省| 镇江市| 乐安县| 沙田区| 平陆县| 太康县| 双流县| 博乐市| 定州市| 开封县| 普定县| 赤水市|