RecyclerView only shows a single instance of Crime Title and Crime Date


#1

Pretty much exactly what the title says. I’m on page 176 of the third edition book, and while the book says that the RecyclerView should show about 10 crimes, mine only shows one (see attached screenshot from my phone). What did I do wrong?


#2

Please check the following link.


#3

Thank you! I assumed I wasn’t the only one who had this issue, but wasn’t able to find that post on my own. I noticed that the layout_height needed to be “wrap_content” in the two TextViews, but missed that I also needed to change it for the LinearLayout.