Not a ListFragment


On printed page 515 when you are directed to create the new class for DragAndDrawFragment it says to make it a subclass of ListFragment.

Attempting to follow along with the ListFragment subclass will give runtime errors complaining there is no ListView element.

Code listing 32.2 shows this class extending Fragment. Using Fragment avoids any problems.


Thanks - adding it to the errata now.