Challenge: A Responsive DialogFragment - Not enough information?

I don’t see any solutions to the second challenge in chapter 12. I’m guessing I’m not the only one then who read it and didn’t have a clue how to even begin to do what it asked?

It feels to me like the book got exponentially harder all of a sudden. I was tracking well until this chapter and then I was getting lost quite a lot in what was going on.