user493244
user493244

Reputation: 919

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

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.

Upvotes: 0

Views: 186

Answers (1)

chikka.anddev
chikka.anddev

Reputation: 9629

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.

Upvotes: 1

Related Questions