Example project - Xamarin Fast Food
First of all, we can create a new Xamarin.Forms PCL project and reuse the same base structure that we created in Chapter 4, Data – the Monkeys Catalog.
We can copy all the classes we've written inside the Base
folder and we can prepare the empty subfolders of Core
to define the business logic of our project.
To use the Base classes, we need to import into our projects the SQLite.Net PCL from the NuGet Package manager. It is a good practice to update all the packages before you start. As soon as a new package has been updated, we will be notified in the Packages
folder. To update the package, right-click on the Packages
folder and select Update
from the contextual menu.
We can create, in the Business
subfolder of ...
Get Xamarin 4 By Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.