Android Studio 4.1 Development Essentials - Kotlin Edition was published on October 17, 2020. The current revision is 1.0. The revision of your copy of the book can be found in the copyright page at the start of the book.
ViewProvider Changes
In Chapters 46, 48 and 76, instances of the following code:
viewModel = ViewModelProviders.of(this) .get(MainViewModel::class.java)Should read as follows:
viewModel = ViewModelProvider(this).get(MainViewModel::class.java)
If you have encountered an issue with the book not listed above please contact us as at [email protected] and we will work to resolve the issue for you as quickly as possible.