Popular

Introduction to MVVM on Android - Tutorial - Learn Android Architecture Patterns

Published on Aug 31, 2018 43,667 views

📗 Read the blog post about MVVM on Android👇👇
https://resocoder.com/mvvm-introducti...

Start saving time now by planning weekly with Week Sweep: http://bit.ly/2Jf3QA0

Making an Android app in itself is not all that hard once you get the basics right. Making a maintainable app is a whole different story. You have to give your code a firm structure, prevent yourself from putting all the code inside an activity or fragment and make many smaller classes which have a single responsibility.
How can you achieve all of this? Architectural patterns! MVC, MVP, MVVM,… While anything is better than the dreaded “spaghetti code”, MVVM is one of the best options for Android development. It’s even fully supported and encouraged by Google with their first-party libraries.

In this tutorial you are going to learn all you need to know to have an idea about what MVVM actually is. As much as I don’t like theory, sometimes it’s important to know it before jumping into actual coding. There is nothing worse than writing code which you don’t understand (been there done that 😢).

Go to my website for more information, code examples and articles:
● http://resocoder.com

Follow me on social media:
● https://www.facebook.com/resocoder
● https://twitter.com/resocoder

Comments
  • Coding in Flow
    Coding in Flow 9 месяцев назад (изменено) I just made a video about that topic too 👍
  • Kamil Babuszka
    Kamil Babuszka 5 месяцев назад And thank you both for your work :)
  • java lover
    java lover 8 месяцев назад yea ... hello my teacher , your tutorial really amazing
  • Coding in Flow
    Coding in Flow 9 месяцев назад Yea they are and it's a lot of fun to work with them. Especially when it comes to configuration changes.
  • Reso Coder
    Reso Coder 9 месяцев назад Wow! Android Architecture Components is so awesome that we're all excited about it 😃
  • Yasmin Al-Zainy
    Yasmin Al-Zainy 3 недели назад The best video that abstract the idea in a simple way for me! thank you !
  • Ibrahem
    Ibrahem 4 дня назад I sense potential in this channel. Subbing.
  • Arnas Kvedaras
    Arnas Kvedaras 7 месяцев назад Very informative video, understood everything from beggining to the end, keep up the good work ;)
  • chun fai hung
    chun fai hung 5 месяцев назад You speak so clearly that i do not have to turn on subs
  • saidur.me
    saidur.me 3 месяца назад Thanks. This is a good tutorial. I recommend others to follow. Happy Coding.
  • Ай Са
    Ай Са 7 месяцев назад Thank you for the video! Keep making such understandable videos! :)
  • Open4 Profit
    Open4 Profit 9 месяцев назад Hello sir i am big fan of yours i love your videos.can you please make new video on appodeal ads integration in unity thanks😊
  • Stories We Love
    Stories We Love 9 месяцев назад Omg it's amazing that you're covering this topic & not only in theory!!! When can we expect the next upload can't wait looking very much forward to it!!! Thank you soooo much for making these amazing videos 😍😍😍😍
  • mukesh patel
    mukesh patel 4 месяца назад @Reso Coder can i have the link please ?
  • Reso Coder
    Reso Coder 9 месяцев назад I'm happy to help 😉 The next tutorial about using MVVM in a real app will be out next Friday!
  • Cheatman97
    Cheatman97 3 месяца назад Such a great explanation!
  • M.Rizki Ramadhan
    M.Rizki Ramadhan 7 месяцев назад i will share this video to my friend without doubt!
  • Shadow Stalker
    Shadow Stalker 1 месяц назад One of the best explanations on youtube on MVVM Cheers Mate! Thnks for sharing :)
  • Vishal Joshi
    Vishal Joshi 3 месяца назад This is the best video on MVVM. Explains the concept on detail level.
  • Bernard Onigbinde
    Bernard Onigbinde 4 месяца назад I'm late to this party, but this is the best explanation I've gotten to date! Thanks a million!
  • Eric Braga
    Eric Braga 3 месяца назад Thanks for this explanation. It helps me a lot.
  • Josué Mora González
    Josué Mora González 8 месяцев назад Thank you, I have been looking implementing mvvm in Android, I know how to do that on Xamarin, but on Android I don't.
  • Abhisar Mohapatra
    Abhisar Mohapatra 3 месяца назад I so loved it.Was struggling from days to grasp this.Even though android it really applies to all framewworks.
  • عبدالرحيم حسن كرورو
    عبدالرحيم حسن كرورو 2 месяца назад plz, teach us anko from begin to end:)
  • Marc P
    Marc P 6 месяцев назад Thanks! Your videos are amazing
  • Tsayku
    Tsayku 9 месяцев назад You should make a full course on Android development. Please do it.
  • Reso Coder
    Reso Coder 9 месяцев назад I will in the near future!