How to impelement ViewModelProvider.Factory?

前端 未结 0 1233
傲寒
傲寒 2021-01-30 11:05

I wanted to access the ViewModel class (which extends AndroidViewModel) in the onViewCreated method of my Fragment. Below line of code should w

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