开发者

I can't see the output when I change my orientation on device in Android

开发者 https://www.devze.com 2023-02-07 09:35 出处:网络
In my project I am able to render pdf and my problem is when I am opening a page and changing my orientation the开发者_运维问答 application is crashing in the emulator. When I check it on device it is

In my project I am able to render pdf and my problem is when I am opening a page and changing my orientation the开发者_运维问答 application is crashing in the emulator. When I check it on device it is opening the home page. How can I overcome this problem?

When I open a page I want to see the same page when I change the orientation.


Basically when you change orientation, it will restart activity. So you have to store your state in orientation change.

You can get better info, go through this link.

0

精彩评论

暂无评论...
验证码 换一张
取 消