Watch my course on MVVM and a REST API: https://codingwithmitch.com/courses/r...
Personally, I think MVVM is the best way to structure code (in most situations).
The thing I like most about MVVM is the compartmentalization of the various components in a project.
1) The UI components are kept away from the business logic
2) The business logic is kept away from the database operations
3) It's easy to read (because everything has specific places to live)
4) And if done correctly, you have a lot less to worry about when it comes to lifecycle events (ex: screen rotations)
➤Blog post on MVVM:
↻ https://codingwithmitch.com/blog/gett...
➤My Courses
↻ https://codingwithmitch.com/courses/
➤My Instagram:
↻ / mitch.tabian
➤Merchandise
↻ https://store.codingwithmitch.com/
Watch video Model View View-Model (MVVM): Getting Started online without registration, duration hours minute second in high quality. This video was added by user CodingWithMitch 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 398,84 once and liked it 6.1 thousand people.