Note that our initial implementation of the OnThisDayActivity
activity from Chapter 5, Synchronizing Data, utilized a TextView
method within a ScrollView
method. Let's spruce that up using a few simple UI patterns we introduced in this chapter. We will intentionally keep this code simple to give you a chance to grasp the new API classes we use. You are encouraged to contrive use cases and experiment with more interesting patterns such as the 2D Picker.
Enough talk. It's time to write some code. We're now ready to improve our initial On this day feed presentation with a vertical list comprising cards. Each card can be dismissed by a swipe from left to right. The result is a far more usable application.