Uploaded November 2018 | Updated November 2026, 3 hours ago
π Get the code from this tutorial ππ
resocoder.com/forecast-app-06
We have already created a Retrofit service, WeatherNetworkDataSource as an abstraction on top of that service, local database with entities and DAO using the Room library and lastly a repository to rule them all. So, technically speaking, we currently have the model layer done. What's missing to have a functioning MVVM application is precisely the ViewModel and the View.
In this part we're going to implement them so that we'll have the architecture all setup and prepared for adding a nice user interface. You are going to learn how to perform a lazy loading with coroutines in Kotlin, how to connect ViewModel to a repository, how to safely call coroutines from a lifecycle-bound component such as a Fragment and much more!
Go to my website for more information, code examples and articles:
β resocoder.com
Follow me on social media:
β instagram.com/resocoder
β facebook.com/resocoder
β twitter.com/resocoder
β gab.ai/resocoder
π Get the code from this tutorial ππ
resocoder.com/forecast-app-06
We have already created a Retrofit service, WeatherNetworkDataSource as an abstraction on top of that service, local database with entities and DAO using the Room library and lastly a repository to rule them all. So, technically speaking, we currently have the model layer done. What's missing to have a functioning MVVM application is precisely the ViewModel and the View.
In this part we're going to implement them so that we'll have the architecture all setup and prepared for adding a nice user interface. You are going to learn how to perform a lazy loading with coroutines in Kotlin, how to connect ViewModel to a repository, how to safely call coroutines from a lifecycle-bound component such as a Fragment and much more!
Go to my website for more information, code examples and articles:
β resocoder.com
Follow me on social media:
β instagram.com/resocoder
β facebook.com/resocoder
β twitter.com/resocoder
β gab.ai/resocoder





![Flutter TDD Clean Architecture Course [14] β User Interface
π Learn from the written tutorial ππ
https://resocoder.com/flutter-tdd-clean-architecture-ep14
π¨βπ» Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
The time for putting all of our previous work into practice is finally here! This part will be all about building the UI and splitting it into multiple readable and maintainable Widgets.
Go to my website for more information, code examples, and articles:
β https://resocoder.com
Follow me on social media:
β https://instagram.com/resocoder
β https://www.facebook.com/resocoder
β https://twitter.com/resocoder Flutter TDD Clean Architecture Course [14] β User Interface](https://i.ytimg.com/vi/G-R-1rzR3zw/mqdefault.jpg)




