how to use viewmodel by ktx?

后端 未结 0 1640
情深已故
情深已故 2021-01-26 12:52

I want to use it like the official website val viewModel by viewModels { SavedStateViewModelFactory(application, this) }


Yes, it\'s much simpler than

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