過去のrepositoryでarchのViewModelProvider(s)がdeprecatedになっていることに気づいたのでどうしたものかと思い、備忘録も兼ねてまとめることにする archのViewModelProvider(s)はもうメンテされないYO The android.arch Architecture Components packages are no longer maintained. They have been superseded by the corresponding androidx.* packages. See androidx.lifecycle.ViewModelProviders instead. 引用元 arch ViewModelProvider arch ViewModelProviders 乗り換えるなら androidx.lifecy