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

Popup not showing on scroll #112

Open
yoobi opened this issue Jan 11, 2021 · 0 comments
Open

Popup not showing on scroll #112

yoobi opened this issue Jan 11, 2021 · 0 comments

Comments

@yoobi
Copy link

yoobi commented Jan 11, 2021

I'm using your library and it's working really nice however I have issue showing the popup when user scroll the recyclerview

I want the popup to appear when the user start scrolling, is it possible ?

I've implemented it that way:

    override fun getSectionName(position: Int): String = getItem(position).countryStripAccents[0].toString()
<com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView
        android:id="@+id/rv_country"
        android:layout_width="0dp"
        android:layout_height="0dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
        app:fastScrollPopupBgColor="@color/primaryLightColor"
        app:fastScrollPopupTextColor="@color/primaryTextColor"
        app:fastScrollThumbColor="@color/primaryDarkColor"
        app:fastScrollTrackColor="@color/primaryTextColor"
        app:fastScrollThumbEnabled="true"
        tools:listitem="@layout/item_country"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant