12032

Android: Scrollbar Accelerator?

Question:

I'm writing an Android application that contains lots of long lists and I need to accelerate scrolling somehow. The Android Contacts application for example uses a list of letters to allow quick scrolling to a certain spot in the list ... it's not exactly what I'm looking for though. I've seen other applications use a handle (or paddle) that appears when you start scrolling and allows you to easily drag the scrollbars to a specific location, that might be a better solution for me.

I'm wondering if anyone would have any info about either of the above methods or any other suggestions on how to accelerate scrolling through long lists (long meaning 500-750 items).

Thanks, Harry

Answer1:

<ListView ... android:fastScrollEnabled="true"/>

and this to "jump" in listView:

<a href="http://developer.android.com/reference/android/widget/SectionIndexer.html" rel="nofollow">http://developer.android.com/reference/android/widget/SectionIndexer.html</a>

Recommend

  • Phaser error on first load of game undefined variables
  • TypeError: Argument must be rect style object - Pygame (Python [duplicate]
  • CSS Dropdown menu isn't shown even though absolutely positioned because of overflow: hidden
  • Move two paddles at same time in SpriteKit + Swift
  • Bootstrap columns cause horizontal scrollbar
  • Two gridView with one scroll in android
  • Fixed position layer (div) in relation to its parent div (with overflow:auto)
  • too many characters in character literal in asp.net c#
  • Bootstrap fixed navigation jumps when scrolling
  • JQuery UI selectable plugin - Multiple mouse drag selection and unselect option
  • Change color of row programmatically in WatchKit
  • Can't CTRL+Drag NSButton to custom NSView header
  • Per Machine App Registration
  • jquery draggable stop event
  • Quickly or concisely determine the longest string per column in a row-based data collection
  • GitHub default README markup
  • How to create a Unix-domain socket with specific access permissions
  • back button function for phonegap windows phone 7
  • Can long-polling be achieved in Restlet by just making the thread sleep?
  • Retaining data after updating application
  • Getting the scrolling offset when storing coordinates
  • Bootstrap (v3.3.4) glyphicons not displayed in IE when refresh page (F5)
  • How to autopopulate a field in SugarCRM form
  • Differences in dis-assembled C code of GCC and Borland?
  • xtable package: Skipping some rows in the output
  • How to suppress a dialog
  • Django rest serializer Breaks when data exists
  • How to rebase a series of branches?
  • Get one-time binding to work for ng-if
  • Is there any way to access browser form field suggestions from JavaScript?
  • Azure Cloud Service Web Role web pages do not load
  • what is the difference between the asp.net mvc application and asp.net web application
  • Matrix multiplication with MKL
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • python regex in pyparsing
  • CSS Applying specific rule for a specific monitor resolution with only CSS is posible?
  • What are the advantages and disadvantages of reading an entire file into a single String as opposed
  • Android Google Maps API OnLocationChanged only called once
  • Converting MP3 duration time
  • How can I use threading to 'tick' a timer to be accessed by other threads?