infinum / android_dbinspector

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

Collapse large cell entries by default, add "expand" functionality #62

Closed JonatanPlesko closed 3 years ago

JonatanPlesko commented 3 years ago

:warning: Please describe your feature request

If the database contains some very long entry (e.g., a JSON response), it can make the entire view very difficult to navigate.

:bulb: Describe the solution you'd like

I propose a certain character limit after which the entry in a cell would be collapsed by default, with an option to expand it (by tapping the cell or pressing some sort of "Expand" or "Show more" button).

:raising_hand: Do you want to develop this feature yourself?

bojankoma commented 3 years ago

Decided to go in a different direction, a "system wide" cell limitation of lines and truncate. Once again, this does not affect nor format any data differently, just the UI cell is presented as preselected in persisted settings.