Kotlin and Android Development featuring Jetpack: (version B4.0 page 134)

Hello Michael,
after finishing the Converter function i cannot start the App because function NewPlayer.toPlayer is missing the new attribute playerId.
I fixed the problem be adding a zero as first argument of the constructor.
Alternatively it would be possible to used named arguments.
Is it OK at this point that the player id is zero?
Best regards Keno

Keno,
Once again, you’re right on. Those are both valid options, and I put a note about adding named arguments in there. But yes, adding 0 for the playerId works as well.

Thanks!