# FastScroll-RecyclerView **Repository Path**: applibgroup/FastScroll-RecyclerView ## Basic Information - **Project Name**: FastScroll-RecyclerView - **Description**: ReyclerView with fast scrolling and scroll popups - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-16 - **Last Updated**: 2021-12-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ![image](./demo/src/main/res/mipmap-mdpi/ic_launcher.png) FastScroll-RecyclerView [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jaredrummler/fastscroll-recyclerview/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jaredrummler/fastscroll-recyclerview) [![License](http://img.shields.io/:license-apache-blue.svg)](LICENSE) [![API](https://img.shields.io/badge/API-11%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=14) ![DEMO GIF](art/demo.gif "DEMO") Usage ----- Add the view to your layout: ```xml ``` Create a `RecyclerView.Adapter` that extends `FastScrollRecyclerView.SectionedAdapter`: ```java private static class RecyclerAdapter extends RecyclerView.Adapter implements FastScrollRecyclerView.SectionedAdapter { private final String[] countries; public RecyclerAdapter(String[] countries) { this.countries = countries; } ... @NonNull @Override public String getSectionName(int position) { return countries[position].substring(0, 1).toUpperCase(Locale.ENGLISH); } } ``` Download -------- Download [the latest AAR](https://repo1.maven.org/maven2/com/jaredrummler/fastscroll-recyclerview/1.0.3/fastscroll-recyclerview-1.0.3.aar) or grab via Gradle: ```groovy compile 'com.jaredrummler:fastscroll-recyclerview:1.0.3' ``` or Maven: ```xml com.jaredrummler fastscroll-recyclerview 1.0.3 aar ``` Credits ------- This library is based on [Google's Launcher3](https://android.googlesource.com/platform/packages/apps/Launcher3/) fast scroller. Some of the code in this library is from [Tim Malseed's](https://github.com/timusus) project [RecyclerView-FastScroller](https://github.com/timusus/RecyclerView-FastScroll) License -------- Copyright (C) 2016 Jared Rummler Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.