LollipopContactsRecyclerViewFastScroller

Additional

Language
Java
Version
4 (Jun 3, 2016)
Created
Apr 3, 2015
Updated
Jan 30, 2019
Owner
AndroidDeveloperLB
Contributors
AndroidDeveloperLB
dimbslmh
darzul
akgoswam
fjbatresv
5
Activity
Badge
Generate
Download
Source code
APK file

Advertising

LollipopContactsRecyclerViewFastScroller

A sample of how to mimic the way that the contacts app handles a Fast-Scroller for a RecyclerView

This POC is based on this website's tutorial, but with a lot of fixes, optimizations, cleaner code, and of course styling like on Lollipop's contacts app.

Demo:

Screenshots

Here's how the contacts app of Android Lollipop (5.0.x) looks like:

and here's how I managed to mimic its fast-scroller:

Known issues and TODOs

  1. It's a POC, so it's not so comfortable to customize, but on the other hand, you can put any style you wish.
  2. I think there are issues when changing the orientation.
  3. Not a library. I hope I can think of a way that this could be a nice library
  4. Minimal API is 11 . I'd like it to be lower.
  5. Supports only LinearLayoutManager for now. Wish it would also support Gridlayoutmanager .