All Projects → jaredrummler → FastScroll-RecyclerView

jaredrummler / FastScroll-RecyclerView

Licence: Apache-2.0 License
ReyclerView with fast scrolling and scroll popups

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to FastScroll-RecyclerView

Flexibleadapter
Fast and versatile Adapter for RecyclerView which regroups several features into one library to considerably improve the user experience :-)
Stars: ✭ 3,482 (+9310.81%)
Mutual labels:  recyclerview, fastscroll
recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+235.14%)
Mutual labels:  recyclerview
UltimateRecyclerView
A RecyclerView(advanced and flexible version of ListView in Android) with refreshing,loading more,animation and many other features.
Stars: ✭ 7,238 (+19462.16%)
Mutual labels:  recyclerview
DiverseRecyclerAdapter
A small and yet powerful library, which greatly simplifies building lists of different items
Stars: ✭ 16 (-56.76%)
Mutual labels:  recyclerview
ModularAdapter
The RecyclerView.Adapter that makes your life simple!
Stars: ✭ 14 (-62.16%)
Mutual labels:  recyclerview
BaseRecyclerAndAdapter
BaseRecyclerAndAdapter
Stars: ✭ 86 (+132.43%)
Mutual labels:  recyclerview
movie-booking
An example for booking movie seat, combined of Android Data Binding, State Design Pattern and Multibinding + Autofactory. iOS version is: https://github.com/lizhiquan/MovieBooking
Stars: ✭ 80 (+116.22%)
Mutual labels:  recyclerview
kandy
Sweet Android libraries written in Kotlin
Stars: ✭ 19 (-48.65%)
Mutual labels:  recyclerview
Antonio
Android library for the adapter view (RecyclerView, ViewPager, ViewPager2)
Stars: ✭ 89 (+140.54%)
Mutual labels:  recyclerview
WinForm.UI
WinForm 皮肤,自定义控件
Stars: ✭ 100 (+170.27%)
Mutual labels:  recyclerview
CommonRecycler
极度封装RecyclerView里的adapter,holder,让其支持各种点击事件,使用方便
Stars: ✭ 19 (-48.65%)
Mutual labels:  recyclerview
SlideView
🔖 Card RecycleViewManager, to make your interface cool.Use recyclerView to add cool effects to the view.
Stars: ✭ 16 (-56.76%)
Mutual labels:  recyclerview
volx-recyclerview-fast-scroll
An easy to use implementation for fast scroll recyclerview
Stars: ✭ 34 (-8.11%)
Mutual labels:  recyclerview
jubako
A small API to help display rich content in a RecyclerView such as a wall of carousels
Stars: ✭ 28 (-24.32%)
Mutual labels:  recyclerview
SuperAdapter
A Super simple library can be used for inserting elements in between RecyclerView's elements.
Stars: ✭ 18 (-51.35%)
Mutual labels:  recyclerview
StackCardRecyclerView
this is RecyclerView like stack cards
Stars: ✭ 23 (-37.84%)
Mutual labels:  recyclerview
GenericRecyclerAdapter
Easiest way to use RecyclerView. Reduce boilerplate code! You don't need to write adapters for listing pages anymore!
Stars: ✭ 53 (+43.24%)
Mutual labels:  recyclerview
StickyHeader
A simple lightweight sticky header ItemDecorator for RecyclerView
Stars: ✭ 108 (+191.89%)
Mutual labels:  recyclerview
SlideTable
可以滑动 以表格形式展示数据
Stars: ✭ 14 (-62.16%)
Mutual labels:  recyclerview
android-tableview-kotlin
Android's missing TableView component.
Stars: ✭ 40 (+8.11%)
Mutual labels:  recyclerview

image FastScroll-RecyclerView

Maven Central License API

DEMO GIF

Usage

Add the view to your layout:

<com.jaredrummler.fastscrollrecyclerview.FastScrollRecyclerView
    android:id="@+id/recycler"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:fastScrollHideDelay="600"
    app:fastScrollAlwaysEnabled="false"
    app:fastScrollPopupBackgroundColor="?attr/colorAccent"
    app:fastScrollPopupTextColor="@android:color/white"
    app:fastScrollThumbActiveColor="?attr/colorAccent"
    app:fastScrollThumbInactiveColor="?attr/colorAccent"/>

Create a RecyclerView.Adapter that extends FastScrollRecyclerView.SectionedAdapter:

private static class RecyclerAdapter extends RecyclerView.Adapter<RecyclerAdapter.ViewHolder>
    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 or grab via Gradle:

compile 'com.jaredrummler:fastscroll-recyclerview:1.0.3'

or Maven:

<dependency>
  <groupId>com.jaredrummler</groupId>
  <artifactId>fastscroll-recyclerview</artifactId>
  <version>1.0.3</version>
  <type>aar</type>
</dependency>

Credits

This library is based on Google's Launcher3 fast scroller.

Some of the code in this library is from Tim Malseed's project RecyclerView-FastScroller

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].