A Library to Add Index with Popup Indicator in The Left - Right - Bottom of Recycler View. Classes & Functions inside the Library has Clear Document & It is Easy to Implement with Options to Customize the UI.
~ Installation
Download This Project & Import IndexedFastScrollerLibrary Module to your Android Studio Project.
~ Implementation
(You Can Also Check The Sample Application To Understand How To Setup Nested RecyclerView)
Load Your List Data Completely & Then Add Below Code
โ Enable Coroutine. Add This To Your Application Level Gradle
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3' <br/>
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3' <br/>
/*Indexed Popup Fast Scroller*/
val indexedFastScrollerFactory = IndexedFastScrollerFactory(
indexData,
indexSide = IndexSide.BOTTOM,
popupEnable = true
)
val indexedFastScroller: IndexedFastScroller = IndexedFastScroller(
context = applicationContext,
layoutInflater = layoutInflater,
rootView = activitySampleViewsBinding.MainView,
nestedScrollView = activitySampleViewsBinding.nestedScrollView,
recyclerView = activitySampleViewsBinding.recyclerViewList,
indexedFastScrollerFactory = indexedFastScrollerFactory
)
indexedFastScroller.setupIndex().await()
/*Indexed Popup Fast Scroller*/
Phone Demonstration FastScroller Popup Index
Watch Demonstration FastScroller Popup Index