diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-03-27 10:02:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 10:02:31 +0100 |
commit | 94b0b64501da5be8bdbefb237a3193e15ed1b456 (patch) | |
tree | 2fef18483933b0c35b13ccb86fef4789edc5b5c0 /LICENSE.txt | |
parent | 791868f3d6a871379b766e44fb41755d794eb36e (diff) |
Fix: Restore store scroll position on back press (#670)
Restoring the scroll position in the main store fragment is currently
broken since the stored state (recyclerView.verticalScrollbarPosition)
is always 0 - it is just an enum that governs where the scrollbar is
placed on the screen.
The fix is to remember the list position of the last fully visible item
and scroll to it when restoring the scroll position.
Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions