Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

what is the process of mvvm in android

The 4 steps of MVVM
Create Model (aka POJO)
Create Repository (fetch data from API or DB)
Create ViewModel (extend ViewModel, get liveData from Repository)
Create Activity (observe ViewModel & display data)
 
PREVIOUS NEXT
Tagged: #process #mvvm #android
ADD COMMENT
Topic
Name
3+1 =