concept stateful list in category android

appears as: stateful list
Android in Practice

This is an excerpt from Manning's book Android in Practice.

We’ve already seen how a ListView can be used with an Adapter in chapter 2. That example was simple: we showed a list of deal items, but the data behind that list was static. Once it was put behind the list, it didn’t change. For MyMovies, we’d like to be able to tick off Movies that are in our collection. For this to happen, we need to expand on list views and adapters. We now need a stateful list that includes elements that can be in two states: checked or not checked. Moreover, we’re going to spice things up by showing you how to add header and footer elements to lists. Along the way, we’ll also explore a few optimizations, such as the ViewHolder pattern, which will make your list render significantly faster and hence scroll more smoothly.