Kotlin and Android Development featuring Jetpack: GameViewModel.players has no property value (version B4.0 page 89)

Hello Michael,

i think in version B4.0 on page 89 this line is not correct:

this.players.value = playersForNewGame

GameViewModel.players has no property value. May previously it had been a MutableLiveData.

I hope i am not annoying you be sent so many erratas in a row. I am working on it while reading the book. If i don’t send them at once i will forget about them.

Best regards

Keno Basedow

1 Like

Keno,
You’re right on, it was a MutableLiveData object previously and I changed it but missed the snippet here.

And you’re not annoying at all, I’m legitimately excited to see that you’re working through it and that you’re sending along this great feedback. I want to make sure the book’s as good as possible and you taking the time to help ensure that is wonderful.

Fixes/updates for all three of your posts will be included in the next beta release. Thank you again!