Skip to content
Bringing extended scrolling features to Android's native ListView and ExpandableListView.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
QuickScroll Unwrap adapter if a ListView has headers May 20, 2014
sample/QuickScrollSample merge Feb 17, 2014
.gitignore initial commit Jan 14, 2014 Update Jan 27, 2015

About QuickScroll

QuickScroll is a library aimed at creating similar scrolling experiences to the native Contacts app's People view. It has the same scrolling capabilities as the ListView's native fastscroll, but comes with a much a much more customizable design, two indicator styles and an allways visible scrollbar. The two most common modes are popup and indicator. Works seamlessly with ListView and ExpandableListView. Check out the demo application, available in the Play Store.

QuickScroll works great with basically any third party library, in fact, it's just a lightveight View subclass with few lines of initialization code. For more info check out this blog post.


A project with mulitple working samples can be found in the /sample folder.

  1. Include the widget in your layout. Currently, you can only put it to the right side of the ListView, this can be done via a RelativeLayout, a LinearLayout or any other positioning trick of your choice. The default width is 30 dp, but if you really want to change it, you can do it via an object method.

  2. Implement the Scrollable interface in your BaseExpandableListAdapter or BaseAdapter subclass. You must override the methods below.

    The first function returns the corresponding String to display at any given position:

     public String getIndicatorForPosition(int childposition, int groupposition) {
         return null;

    The second function is responsible for is for implementing scroll behaviour. This can be used to perform special tasks, e.g. if you want to snap to the first item starting with a letter in an alphabetically ordered list or jump between groups in an ExpandableListView. If you want the normal approach, simply return childposition.

     public int getScrollPosition(int childposition, int groupposition) {
     return 0;
  3. Initialize the QuickScroll widget:

     final QuickScroll quickscroll = (QuickScroll) layout.findViewById(;
     quickscroll.init(QuickScroll.TYPE_INDICATOR, listview, adapter, QuickScroll.STYLE_HOLO);

    The first parameter assigns the type, the second and third binds the ListView (or ExpandableListView) and its adapter. The last one defines the style, currently there are two available:

    • STYLE_HOLO creates a scrollbar fitting into stock holo design.
    • STYLE_NONE creates a transparent scrollbar, so you can create a fully customised underlying layout.

    Both styles also come with a _WITH_HANDLE suffix, creating a holo-themed handlebar on the scrollbar.

  4. (Optional) Do some customizing: change the colors, sizes and font styles. This can be done via object methods.

Including in your app

QuickScroll is available as an Android Library Project. In Eclipse, you can include it by referencing as a library project, in IntelliJ, you can add it as a module.

Other notices

The lowest supported API level is 8 (FroYo)

Developed by Andras Kindler (


Copyright 2013 Andras Kindler

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.