With this tutorial series you are starting a new Android development journey on which you are going to learn a ton of new things.

You are going to build a real forecast app using the MVVM architectural pattern. Let’s quickly run through what you’ll actually build. Don’t worry if you don’t understand half of the stuff I’m about to say – this is a tutorial, after all, and I will teach you everything in detail in later parts.

This app is going to do things like getting weather data from an API using Retrofit and Gson, caching this data in an SQLite database using Room library, handling asynchronous code using Kotlin’s coroutines, concentrating data operations in a Repository class, injecting dependencies using Kodein library, getting the user’s location and more.

?Get the code from this tutorial?


About the author 

Matt Rešetár

Matt is an app developer with a knack for teaching others. Working as a freelancer and most importantly developer educator, he is set on helping other people succeed in their Flutter app development career.

You may also like

  • Hi, I have a question about how to hide the bottom navigation footer in few pages. I am trying to build an application where not all pages require the bottom nav bar. Pleas let me know how to approach such scenarios

  • I have updated android studio, when i go to ceate new project, i am not getting option of include navigation controller.

  • Thank you so much for your content. I also appreciate your videos on Flutter and Dart, though not enough time in a day!! Not sure how you do it!
    You really do have a knack for teaching and this series touches on all the parts needed to write a robust, traditional, yet filled with potential, Android app in 2019. A great real world example using many popular third party libraries. I am able to apply the principles into my own application very easily. Don’t ever stop! I will gobble them up as you make them, staying up to date on the latest in development goodness!

  • Good day Reso Coder, i am taking your course on forecast mvvm now and apixu api service is almost no longer around. Weather stack api service has been introduced as the new apixu. I am trying to use the weather stack api service but i am getting a null pointer exception. I have followed the class well i believe and it maybe something small that keeps me from moving forward. i was wondering if you could help me in this situation, if not i do understand. You seem very busy. Anyway sir i do not know how to send you the project or if the error message helps. please let me know if you can help and give me an idea how to send my data(project). By the way man your classes are awesome, you my friend are a great teacher. Keep up the execellent work, your great

    • Hello! It’s sad that they’ve discontinued the Apixu API. The new WeatherStack API has a different response format, so switching is not as simple as just changing the URL, sadly.

      I’ll try to update the code on GitHub to reflect the changes so that all the other people learning from this tutorial series will know what to do too.

      • I don’t have errors in the code, buy app “keeps stopping”… Is the new weatherstack totaly different than Apixu? 🙁

  • {"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}