In this chapter, we will cover the following topics:
The iOS application lifecycle
UIViewController lifecycle methods
The Android application lifecycle
Activity lifecycle methods
Background state
In this chapter, we're going to spend some time examining applications' states, lifecycles, and multitasking on mobile devices. Although this may seem like a detour from learning about the development environment, Xamarin Studio developers must understand these concepts to successfully build cross-platform apps. This chapter is not intended to introduce every aspect of lifecycles and multitasking in a mobile environment. It is intended to introduce those core concepts that are, in my experience, most critical and potentially confusing to a .NET developer being introduced to iOS and Android development for the first time. Using this knowledge as a foundation, we'll then be able to move on to testing and deployment in Chapter 7, Testing and Debugging, and Chapter 8, Deployment...