what is MVVM in android Hindi ? what is MVVM architecture pattern in android studio?

Поділитися
Вставка
  • Опубліковано 17 сер 2022
  • What is MVVM Android? Why do we need these patterns?
    Adding everything in a Single Activity or Fragment would lead to problems in testing and refactoring the code. Hence, the use of separation of code and clean architecture is recommended.
    👉 How does MVVM Work in your projects?
    ✅ Model: This holds the data of the application. It cannot directly talk to the View. Generally, it’s recommended to expose the data to the ViewModel through Observables.
    ✅ View: It represents the UI of the application devoid of any Application Logic. It observes the ViewModel.
    ✅ ViewModel: It acts as a link between the Model and the View. It’s responsible for transforming the data from the Model. It provides data streams to the View. It also uses hooks or callbacks to update the View. It’ll ask for the data from the Model.
    Hashtags:-
    #mvvm #firebase #kotlin
    ⏭️---------CONNECT WITH US --------------
    📱 Instagram - / your_developer_here
    📱LinkedIn - / jenil-vaghani-6892a3185
    📱Gmail - yourdeveleoperhere001@gmail.com
    📱GitHub - github.com/jenil-vaghani
    ♥️ if you have any queries about this video then contact me on the following account
    Thank you

КОМЕНТАРІ • 6