Error in listing 22.13?


#1

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?


#2

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


#3

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