Git Product home page Git Product logo

mvvm-architecture-pattern's Introduction

Mvvm-Architecture-Pattern

Android Architecture components are a collection of libraries that help you design robust, testable, and maintainable apps with more power over lifecycle management and data persistence.

Getting Started

  • What is MVVM?.

  • MVVM is one of the architectural patterns which enhances the separation of concerns, it allows separating the user interface logic from the business (or the back-end) logic. Its target is to achieve the following principle “Keeping UI code simple and free of app logic in order to make it easier to manage”.

  • There are 3 parts to the Model-View-ViewModel architecture:

  • 1- Model is the data layer of your app. It abstracts the data source.

  • 2- View contains the UI of your app. Most often it’s implemented as an Activity or Fragment. View informs ViewModel of user interactions and displays results received from the ViewModel.View should be lightweight and contain zero to very little business logic.

  • 3- ViewModel serves as a bridge between your View and Model. It works with the Model to get and save the data. The View observes and reacts to the data changes exposed by the ViewModel. myimage-alt-tag

Resources

  • 1- Please Visit codelabs for the guidance of how to use a MVVM Architectural Patterns in best practice
  • 2- This Playlist will helps you to understand the Architectural but it just to make you familiar with its implementation

Just for Help

  • Please don't copy the code in the resource no worries if some of it but try to understand the Architecture on your own way by reading from more resources then note it on your Notepad then implement it on your understanding
  • You are not forced to learn every new Architectural Pattern in Android development you just need to learn a new one if your project needs it , if not, just be familiar with it
  • Hope this two Articles helps Learnings From 3 Years Of Android Development , Android Architecture Patterns

At The End

  • Comments and reviews are so welcome

mvvm-architecture-pattern's People

Contributors

omaroiid avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.