Fragment activity crashes on screen rotate

前端 未结 5 587
刺人心
刺人心 2021-01-01 18:22

I have a simple fragment activity. In the onCreate() method, I simply add a fragment. The code is posted below. However, each time I rotate the screen, system will call onCr

5条回答
提交回复
热议问题