Error in listing 22.13?


The first line of the code show in listing 22.13 is :

public void onCrimeUpdated(Crime crime) {

Shouldn’t this entire line be bold as well?


You are right, the entire line should be bold.
and you also should implements the CrimeFragment in the Class declaration, like below

public class CrimeListActivity extends SingleFragmentActivity implements CrimeListFragment.Callbacks, CrimeFragment.Callbacks


Those are both already corrected in the physical book, first edition, second printing, September 2013.