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 was abducted by space aliens.

Grids

The preview of this section is in an invisible, microscopic font.

Varying the Items

The preview of this section is in an invisible, microscopic font.

Mutable Row Contents

The preview of this section was stepped on by Godzilla.

Changing the Contents

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

The Order of Things

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

Other Bits of Goodness

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

Animating the Deltas Using DiffUtil

The preview of this section is [REDACTED].

Expandable Rows

The preview of this section is [REDACTED].

RecyclerView as Pager

The preview of this section was traded for a bag of magic beans.

Declaring a LayoutManager in the Layout

The preview of this section is unavailable right now, but if you leave your name and number at the sound of the tone, it might get back to you (BEEEEEEEEEEEEP!).

Transcript Mode

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