1 min readDec 29, 2019
You are missing that on process recreation, if(savedInstanceState == null){
is NEVER true. Therefore, Activity is created in that process for the first time, ViewModel is created in that process for the first time, but ViewModel will never start loading data because of this condition.