codelab-android-databinding icon indicating copy to clipboard operation
codelab-android-databinding copied to clipboard

Page7 compilation error

Open le-kamba opened this issue 5 years ago • 0 comments

I'm using project from downloaded zip.

I changed SimpleViewModel.kt and PlainOldActivity and after done page 7, compile error occurs.

SimpleViewModel's members changed to LiveData, but both PlainOldActivitySolution2 and PlainOldActivitySolution3 using SimpleViewModel's too, so they can't be compiled.

We shouldn't change SimpleViewModel class, create SimpleNewViewModel class (or other) copying from SimpleViewModel, and edit it.

Please notify it to reader.

le-kamba avatar Jun 12 '19 10:06 le-kamba