Kotlin and Android Development featuring Jetpack:Page 44, Can't build project

@NaplesDave - Apologies for the late reply here, took me a bit to get back to this.

Quick answer: you’re missing a curly bracket at the end of the android:visibility property on your SwitchCompat component.

android:visibility="@{switchHidden ? View.INVISIBLE : View.VISIBLE"/>

Give that a run and see if you’re good (if you didn’t already find this)