The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Advanced RecyclerView

RecyclerView is the “Swiss army knife” of Android selection widgets. You can use it for a wide range of scenarios, well beyond what classic AdapterView widgets — like ListView or GridView — could handle.

In this chapter, we will “go outside the (AdapterView) box” and explore some advanced uses of RecyclerView.

Prerequisites

Understanding this chapter requires that you have read the core chapter on RecyclerView.

One section involves the use of custom XML drawables. Another section demonstrates using content pulled from the MediaStore ContentProvider.

This chapter also covers things like action modes and comparisons with other advanced ListView techniques.

What About Cursors?

The preview of this section apparently resembled a Pokémon.

Grids

The preview of this section was last seen in the Bermuda Triangle.

Varying the Items

The preview of this section is out seeking fame and fortune as the Dread Pirate Roberts.

Mutable Row Contents

The preview of this section was last seen in the Bermuda Triangle.

Changing the Contents

The preview of this section left for Hollywood to appear in a reality TV show.

The Order of Things

The preview of this section is in the process of being translated from its native Klingon.

Other Bits of Goodness

The preview of this section was last seen in the Bermuda Triangle.

Animating the Deltas

The preview of this section will not appear here for a while, due to a time machine mishap.

ListAdapter. No, Not That ListAdapter.

The preview of this section did not survive Thanos's finger snap.

Expandable Rows

The preview of this section will not appear here for a while, due to a time machine mishap.

RecyclerView as Pager

The preview of this section will not appear here for a while, due to a time machine mishap.

Declaring a LayoutManager in the Layout

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

Transcript Mode

The preview of this section was whisked away by a shark-infested tornado.