O'Reilly logo

Cross-platform UI Development with Xamarin.Forms by Paul F. Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Is there an alternative?

What we have here is three different implementations for three different platforms with the same interface name. This is fine and works, but what if we want something that works on all the platforms, but isn't restricted to the limited range that can be loaded and saved. Is this possible?

Yes, it is. It can be performed in one of two ways. The first is an XML-based solution, and the second is part of the SQLite database.

Note

The source code for both of the following section can be found in the accompanying source code file of this chapter.

The XML-based solution

In my first book, Xamarin Mobile Application Development for iOS, Packt Publishing, I mentioned a simple, yet effective XML-based solution (it's in Chapter 13, User ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required