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

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
主站蜘蛛池模板: 忻城县| 永寿县| 康平县| 秭归县| 苗栗县| 丰城市| 云和县| 阜新| 吉首市| 温州市| 宽甸| 双城市| 贵州省| 莒南县| 平凉市| 蓝山县| 汝城县| 阿鲁科尔沁旗| 五大连池市| 财经| 桐柏县| 洛扎县| 二连浩特市| 宝清县| 桐梓县| 乌审旗| 肥西县| 沛县| 靖安县| 遂昌县| 夏津县| 德格县| 曲水县| 斗六市| 类乌齐县| 洛南县| 梁平县| 平昌县| 静乐县| 宁夏| 迁安市|