Chapter    4

Implement Piece by Piece

In the previous chapter, you used an iOS storyboard to lay the groundwork for using navigation patterns. It resulted in a set of connected UIViewController classes in a model-view-controller (MVC) framework that mapped to Android counterpart fragments.

In this chapter, you will implement each view-controller pair one piece at a time. You will also focus on the following common programming-task mappings from iOS to Android:

  • User interface and common UI widgets
  • Persistent storage options
  • Network and remote services with JavaScript Object Notation (JSON)

User Interface

All those storyboard scenes that you implemented using the screen navigation patterns in Chapter 3 were intentionally simple. Obviously, a useful ...

Get Migrating to Swift from Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.