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

**URL:** <https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-version-b4-0-page-134/6760>\
**Category:** PragProg Customers\
**Tags:** book-kotlin-and-android-development-featuring-jetpack, errata\
**Created:** [7 February 2021 14:13 UTC](https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-version-b4-0-page-134/6760 "2021-02-07T14:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keno.basedow](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/k/bbce88/32.png) [@keno.basedow](https://forum.devtalk.com/u/keno.basedow)\
**Post date:** [7 February 2021 14:13 UTC](https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-version-b4-0-page-134/6760/1 "2021-02-07T14:13:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mfazio23](https://forum.devtalk.com/user_avatar/forum.devtalk.com/mfazio23/32/528_2.png) [@mfazio23](https://forum.devtalk.com/u/mfazio23)\
**Post date:** [8 February 2021 00:39 UTC](https://forum.devtalk.com/t/kotlin-and-android-development-featuring-jetpack-version-b4-0-page-134/6760/2 "2021-02-08T00:39:21Z")

</div>

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!
