In this chapter, we step back into Xamarin.Forms
and look at detailing our XAML interfaces using CustomRenderers, Styles, and ControlTemplates. We will also look at the use of animations and a basic introduction to compound animations. Then, we are going to build a simple web service providing our mobile application with a JSON feed.
Expected knowledge:
In this chapter, you will learn the following:
App.xaml
ControlTemplates
MainPageViewModel
ListViews
and ObservableCollections
StockItemDetailsPage
StockItemDetailsPageViewModel
As mobile developers, we are client side developers. We build user interfaces and absorb JSON data from web services. One advantage of developing in both server and client is the ability to tailor the back end to meet the needs of the mobile application. This can result in enhancing performance with data transactions on a web API. Building fast and reliable mobile applications can be difficult if we have to build off an old, slow-running back end. If users experience slow and unstable applications, they will normally never return to use it again.
In this example, we will build a simple web service that our mobile application will use. Let's begin by opening up Visual Studio.
3.144.48.135