版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/dengmengxin/article/details/40299853
android:configChanges="orientation"
在Activity节点设置configChages="orientation"即可,这样就不会走onCreate..改成走onResume
android:configChanges="orientation"
在Activity节点设置configChages="orientation"即可,这样就不会走onCreate..改成走onResume