mangaview
mangaview copied to clipboard
The current page index is reset unexpectedly on ONYX BOOX.
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.
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.