Is it possible using MVVM ViewModel in RecyclerView Adapter or Dialog?

后端 未结 0 511
不思量自难忘°
不思量自难忘° 2020-12-12 00:40

I\'m making a function that opens a dialog when I touch the recyclerView item. I put viewModel in adapter and onClick function in viewHolder to open dialog with viewModel.

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