Android Fragment Navigation Controller: Best way to do something when UP button is pressed in a fragment

前端 未结 0 1647
攒了一身酷
攒了一身酷 2021-02-04 08:17

Assume normal behavior is to commit changes to a view model with a longer lifecycle when the UP button is pressed. If changes are to be discarded some other UI element would pr

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