get context SavedStateHandle Java Android

前端 未结 0 721
挽巷
挽巷 2020-12-12 18:51

I want to get something from SharedPreferences in a ViewModel class. The constructor as a SavedStateHandle parameter only and I don\'t know how to get the context. Here is m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题