RecyclerView-FastScroll
RecyclerView-FastScroll copied to clipboard
Popup not showing on scroll
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"/>