```class ViewModel(val id: String) : BaseObservabl...
# announcements
b
Copy code
class ViewModel(val id: String) : BaseObservable() {

    private var name = "Name"
    @Bindable
    fun getName(): String {
        return name
    }

    fun setName(name: String) {
        this.name = name
        notifyPropertyChanged(BR.name)
    }

    ...
Would this be the right way to do this in Kotlin?