Project

General

Profile

Actions

Feature #42

closed
SS SS

More Sophisticated Scrolling When Moving Bookmarks

Feature #42: More Sophisticated Scrolling When Moving Bookmarks

Added by Soren Stoutner about 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Next Release
Start date:
07/12/2016
Due date:
% Done:

0%

Estimated time:

Description

Currently, when moving a bookmark the ListView is moved to `setSelection(selectedBookmarkNewPositon - 5)`. It would be nice to implement a more sophisticated scrolling, but it doesn't work well because `getFirstVisiblePosition()` and `getLastVisiblePosition()` are not always accurate with partially displayed bookmarks, especially with an overlayed AppBar, making the number of calculated visible bookmarks vary.

SS Updated by Soren Stoutner about 10 years ago Actions #1

This could probably be accomplished by storing the scroll position and restoring it after a change rather than calculating it off of the ListView item position.

SS Updated by Soren Stoutner over 9 years ago Actions #2

  • Priority changed from 3.x to 3

SS Updated by Soren Stoutner almost 9 years ago Actions #3

  • Priority changed from 3 to 3.x

I am going to put this off for a while, and perhaps not make any changes at all. `setSelection(selectedBookmarkNewPositon - 5)` works well. Making changes could get complicated if the bookmark scrolls off the screen.

SS Updated by Soren Stoutner almost 9 years ago Actions #4

  • Priority changed from 3.x to 3

SS Updated by Soren Stoutner over 8 years ago Actions #6

  • Priority changed from 3 to Next Release
Actions

Also available in: PDF Atom