infinum / android_dbinspector

Android library for viewing, editing and sharing in app databases.
Apache License 2.0
952 stars 92 forks source link

Bug - show content - current page is not remembered after screen rotation #53

Closed orionlee closed 3 years ago

orionlee commented 5 years ago

Version: v3.4.1

Steps to reproduce:

orionlee commented 5 years ago

Diagnosis: The issue is in TablePageAdapter() constructor, in determining the position (with respect to rows) based on the supplied page startPage,

https://github.com/infinum/android_dbinspector/blob/v3.4.1/dbinspector/src/main/java/im/dino/dbinspector/adapters/TablePageAdapter.java#L57