📅  最后修改于: 2022-03-11 14:52:48.699000             🧑  作者: Mango
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)