Chapter 10 Crash

I’m getting a crash after following pages 205-208.

The offending lines of code in CrimeFragment are,

If I comment these lines out the blank crime fragment page presents itself. I’m on a Mac.
Thank you.

Withdrawn, figured it out, sorry for the noise.

For those like me who come wandering in with the same problem, let me share my solution:

In, the method getCrime didn’t return any Crime because I used == instead of equals().

Hope this helps someone who made the same mistake. =)

1 Like