Error in listing 22.14?


#1

the book shows:

mCallbacks.onCrimeUpdated(mCrime);
getActivity().setTitle(mCrime.getTitle());

In my code the getActivity line above is not there. I pulled up the code I downloaded and looked in the CrimeFragment.java file and the getActivity line of code does not exist there either.