leakcanary icon indicating copy to clipboard operation
leakcanary copied to clipboard

LeakActivity not preserving list position on back navigation from leak details

Open Ethan1983 opened this issue 2 years ago • 2 comments

Description

LeakActivity not preserving list position on back navigation from leak details

Steps to Reproduce

  1. Launch LeakActivity on an app with enough number of leaks
  2. Select Heap Dumps bottom tab, scroll to bottom most and tap to view details
  3. 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

Ethan1983 avatar Jun 03 '23 22:06 Ethan1983

The same thing, I hope everything will be great in 3.0)

EpicDima avatar Feb 02 '24 16:02 EpicDima

PRs welcome for LeakActivity :)

pyricau avatar Feb 16 '24 23:02 pyricau