Activity & Fragment LiveData communication

后端 未结 0 930
鱼传尺愫
鱼传尺愫 2020-12-11 03:28

I have a function that changes one of the fields of LiveData object in VieModel. I want to be able to run the function in fragment and get modified object in MainActivity. I

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