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

  • 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
主站蜘蛛池模板: 岫岩| 开封市| 富源县| 康保县| 三门峡市| 双桥区| 贺州市| 阳原县| 大安市| 涡阳县| 新泰市| 凤凰县| 林口县| 兰州市| 沅江市| 礼泉县| 德惠市| 犍为县| 深州市| 禹州市| 定安县| 明星| 乐陵市| 通海县| 遂川县| 石渠县| 理塘县| 灌阳县| 米林县| 台中市| 锡林浩特市| 安龙县| 双桥区| 宁南县| 丽江市| 栖霞市| 五河县| 巴林右旗| 连江县| 鲁甸县| 黎川县|