Ignoring navigate() call: FragmentManager has already saved its state

前端 未结 5 2231
逝去的感伤
逝去的感伤 2021-02-08 01:19

I\'m using navigation in MainActivity, then I start SecondActivity (for result). After finish of SecondActivity I would like to continue w

5条回答
  •  滥情空心
    2021-02-08 02:04

    Finally, I fix the issue by simple calling super.onPostResume() right before navigating to restore state.

提交回复
热议问题