Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The current page index is reset unexpectedly on ONYX BOOX. #11

Open
keiji opened this issue Dec 28, 2020 · 1 comment
Open

The current page index is reset unexpectedly on ONYX BOOX. #11

keiji opened this issue Dec 28, 2020 · 1 comment
Assignees

Comments

@keiji
Copy link
Owner

keiji commented Dec 28, 2020

System information

  • MangaView version: 1.1.0
  • Android version: Android 9, 2020-10-13_15-52_mc_fa72065
  • Device: ONYX BOOX POKE 2 COLOR

Describe the current behavior

  • Set display orientation to horizontal.
  • Launch the sample app.
  • Change page number(by swipe, tap on edge and so on).
  • Sleep device(by press power button or covered)
  • The sample app show first page. The current page index is reset unexpectedly.

Describe the expected behavior
The current page index(number) should be restored correctly.

@keiji keiji self-assigned this Dec 28, 2020
@keiji
Copy link
Owner Author

keiji commented Dec 28, 2020

I checked the sample app works fine on Essential PH-1 and Pixel 4a.

I find out that View.onRestoreInstanceState method has not be called if ONYX BOOX's display orientation set horizontal.
View.onSaveInstanceState method is called correctly but View.onRestoreInstanceState is not.

This problem reproduce rate is not 100%. Sometimes, ONYX BOOX may call View.onRestoreInstanceState correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant