Listing 34.14 errata?


Listing 34.14 uses “R.string.cell_text” as a resource string setting up the cell text and there is no such string defined for the project.

Your code uses startDateTextView.setText("Run at " + run.getStartDate()); instead of the book’s String cellText = context.getString(R.string.cell_text, run.getStartDate()); startDateTextView.setText(cellText);


The cell_text string is defined in Listing 33.2 (p. 527 in the print version).


Thanks for the reply - found my issue - instead of typing in all the strings I grabbed that from the code download and it did not have the cell_text string either. Figures the first time I get tired of typing in the strings I get burned :wink: