Errata in Listing 22.14 (page 371)


#1

At the mTitleField’s TextWatcher, in onTextChanged, there is a call to getActivity().setTitle(mCrime.getTitle()).

The call to getActivity().setTitle(mCrime.getTitle()) is new and does not appear on the code available for download nor appears anywhere else in the book (I’ve searched the PDF).

It should be deleted.


#2

Ups! This errata had been reported already here in this forum. Sorry