leakcanary
leakcanary copied to clipboard
LeakActivity not preserving list position on back navigation from leak details
Description
LeakActivity not preserving list position on back navigation from leak details
Steps to Reproduce
- Launch LeakActivity on an app with enough number of leaks
- Select
Heap Dumpsbottom tab, scroll to bottom most and tap to view details - Navigate back
Expected behavior: List position should be preserved instead of resetting to top. This isn't a big deal except for legacy project using Leak Canary for first time (tends to have quite a few entries) and navigation isn't friendly.
Version Information
- LeakCanary version: 2.11
- Android OS version: Android 11
- Gradle version: 7.5
Additional Information
https://github.com/square/leakcanary/assets/1020585/2738471b-8b5e-4202-991e-5ad117343c7d
The same thing, I hope everything will be great in 3.0)
PRs welcome for LeakActivity :)