Issue with the Textview in 9.19


I am a complete beginner here so go easy please.
I have an issue with the texView section of chapter 9.
The code is below and the error i have is

“crime_list_item_titleTextView cannot be resolved or is not a field”

I get this error for all three convert views.
The title, Date and Solved Checkbox.
Do i need to create variables for all 3?


import java.util.ArrayList;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.CheckBox;
import android.widget.ListView;
import android.widget.TextView;

public class CrimeListFragment extends ListFragment {

private static final String TAG = "CrimeListFragment";

private ArrayList<Crime> mCrimes;
public void onCreate(Bundle savedInstanceState) {
mCrimes = CrimeLab.get(getActivity()).getCrimes();

ArrayAdapter<Crime> adapter =
		new ArrayAdapter<Crime>(getActivity(),
		android.R.layout.simple_list_item_1, mCrimes);
public void onListItemClick(ListView l, View v, int position, long ID) { 
	Crime c = (Crime)(getListAdapter()).getItem(position);
	Log.d(TAG, c.getTitle() + " was clicked");

private class CrimeAdapter extends ArrayAdapter<Crime> 
	public CrimeAdapter(ArrayList<Crime> crimes) 
	super(getActivity(), 0, crimes);
	public View getView(int position, View convertView, ViewGroup parent) 
	{// If we weren't given a view, inflate one
		if (convertView == null) 
		convertView = getActivity().getLayoutInflater()
		.inflate(R.layout.list_item_crime, null);
	// Configure the view for this Crime
		 Crime c = getItem(position);

	       TextView titleTextView =
	       TextView dateTextView =
	       CheckBox solvedCheckBox =

	       return convertView;



I have 6 quick fixes to chose from.

Create a field in type ID
create a constant in type ID
Change to Crime_date
Change to Crime_title
Change to Crime_solved
Change to fragmentContainer


solved it… i had nothing in my list_item_crime.xml file
once i populated this everything worked correctly