Chapter 8: Expected 1 Arguments but Found 0

Hello, I have been following the book and have run into an error which I do not see a solution for.

Apparently, Android Studio does not like this line in CrimeListFragment.Java:

private void updateUI(){
CrimeLab crimeLab = CrimeLab.get(getActivity());
List crimes = crimeLab.getCrimes(); //This is the line causing problems

mAdapter = new CrimeAdapter(crimes);


Here is the method in CrimeList.Java
public Crime getCrimes(UUID id){
for (Crime crime : mCrimes){
if (crime.getId().equals(id)){
return crime;


Did you forget to pass the required parameter?

There were none listed to pass in the textbook activity.