Kotlin and Android Development featuring Jetpack:Page 37

@mfazio23

Enable Data Binding paragraph. I’m not sure I got this right, the book is a bit vague on this in my opinion. But, I placed the required items in the “build.gradle(:app)” file. And here is how I made my entries. Can you tell me is the correct way to do it, see my code snipping below;

plugins {
    id 'com.android.application'
    id 'org.jetbrains.kotlin.android'
    id 'kotlin-kapt'
}

android {
    compileSdk 32

    buildFeatures{
        dataBinding = true
    }

    defaultConfig {
        applicationId "com.example.pennydrop"
        minSdk 26
        targetSdk 32
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {```