Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fast scroll in feed list #553

Open
4 tasks done
ilf opened this issue Jan 26, 2025 · 4 comments
Open
4 tasks done

fast scroll in feed list #553

ilf opened this issue Jan 26, 2025 · 4 comments

Comments

@ilf
Copy link

ilf commented Jan 26, 2025

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same feature request.
  • I have also used the search function for CLOSED issues to see if the feature was already implemented and is just waiting to be released, or if the feature was rejected.
  • I will describe the problem with as much detail as possible.
  • This request contains only one single feature, not a list of multiple (related) features.

App version

2.8.1

Where did you get the app from

Other

Feature or improvement you want

Fast scroll would be a useful feature:

When fast scrolling is enabled, the user can quickly scroll through lists by dragging the fast scroll thumb.

https://developer.android.com/reference/android/widget/AbsListView.html#attr_android:fastScrollEnabled
https://developer.android.com/reference/android/widget/AbsListView.html#setFastScrollEnabled(boolean)

Why should this be added?

In feed lists with lots of entries, scrolling normally can take a long time.

This can also be useful in article view, for long articles.

Screenshots / Drawings / Technical details

com.android.contacts uses it like this:

$ grep -Ri fastscroll
src/com/android/contacts/list/ContactEntryListFragment.java:            mListView.setFastScrollEnabled(hasScrollbar);
src/com/android/contacts/list/ContactEntryListFragment.java:                mListView.setFastScrollEnabled(!flag);
src/com/android/contacts/list/ContactEntryListFragment.java:        mListView.setFastScrollEnabled(!isSearchMode());
res/layout/contact_list_content.xml:                android:fastScrollEnabled="true"
res/layout/join_contact_picker_list_content.xml:            android:fastScrollEnabled="true"
res/layout/contact_picker_content.xml:        android:fastScrollEnabled="true"/>
@ilf ilf added Needs: Triage Maintainer needs to decide if this feature should be accepted Type: Feature request labels Jan 26, 2025
@spacecowboy
Copy link
Owner

Yes it would be a useful feature.

FYI, the reference you are providing are all for the old View system. Feeder is built with Jetpack Compose, and as far as I know there is nothing equivalent available builti-in.

@spacecowboy spacecowboy removed the Needs: Triage Maintainer needs to decide if this feature should be accepted label Jan 27, 2025
@spacecowboy
Copy link
Owner

I just remembered that this is already implemented.

When you scroll you can see a scrollbar to the side. Just grab it and start dragging.

@ilf
Copy link
Author

ilf commented Jan 29, 2025

Ah, yes. This works in article view. Nice!

But does it work in feed lists? I can't see a scrollbar and can't get it to work there.

@spacecowboy
Copy link
Owner

ok, can reopen for list specifically

@spacecowboy spacecowboy reopened this Jan 29, 2025
@spacecowboy spacecowboy changed the title fast scroll fast scroll in feed list Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants