Chapter 7. Building a File Storage Application
In this chapter, we will walk through advanced development with Xamarin.Forms
. We take a look at the use of Behaviors on UI elements. Then we will build a custom layout using the Layout <View>
framework. We will also build our first SQLite database for storing text files. The following topics will be covered in this chapter:
Expected knowledge:
- Basic Xamarin.Forms
- XAML
- MVVM
- SQL
- C# threading
In this chapter, you will learn the following:
- Project structure setup
- Building a data access layer using SQLite
- Building the ISQLiteStorage interface
- Additional threading techniques
- Creating the AsyncSemaphore
- Creating the AsyncLock
- Implementing native setup requirements for SQLite
- Implementing the IoC container and modules
- Implementing cross-platform logging
- Implementing the SQLiteStorage class
- Introduction to C# 6.0 syntax
- Handling alerts in view-models
- Building the IMethods interface
- Building the ExtendedContentPage
- Building a CarouselView using custom...