news-android icon indicating copy to clipboard operation
news-android copied to clipboard

Scroll bar is inaccurate

Open LinAGKar opened this issue 2 years ago • 2 comments
trafficstars

The length and position of the scroll bar currently only accounts for the next few items, so it always acts as if you're near the end of the feed, only for it to get smaller and smaller as you keep scrolling down.

LinAGKar avatar Jul 14 '23 06:07 LinAGKar

Since we're using a lazy-list I don't think this is currently possible. What we could do is maybe combine it with the idea of #850 - show a small progressbar at the top of the screen (just like we do in the detail view where you swipe horizontally through the articles) to indicate how many articles are left in the current view

David-Development avatar Jan 31 '24 10:01 David-Development

I remember enabling the scrollbar back in the day - with this exact limitation in mind.

There might be a way of "fixing" the toolbar by extending the RecyclerView.LayoutManager (see https://medium.com/@rituel521/improving-accuracy-of-computeverticalscrolloffset-for-linearlayoutmanager-38699a9d03b)

cemrich avatar Jun 25 '24 13:06 cemrich