前言
留坑
AppViewModel appViewModel = ViewModelProvider.AndroidViewModelFactory.getInstance(MyApplication.getAPP()).create(AppViewModel.class);
前言
留坑
AppViewModel appViewModel = ViewModelProvider.AndroidViewModelFactory.getInstance(MyApplication.getAPP()).create(AppViewModel.class);