Let's begin by creating a new Xamarin.Forms
project and calling it Camera
. We also want to create the Camera.Portable
project. Now that we have built up several Xamarin.Forms
applications, we have a lot of reusable parts that will be brought across to this application.
Starting with the Camera.Portable
project, we want to copy in the IoC
, Extras
, and Logging
folders used in Chapter 7, Building a File Storage Application. Make sure all the files contained in these folders are copied in accordingly.
Then we want to add the following NuGet packages for every project:
Autofac
Reactive extensions
Next, we want to create a folder called Enums. Add in a new folder called PageNames.cs
and implement the following:
public enum PageNames { #region Properties MainPage, CameraPage, #endregion }
Like our other projects, this will be used...