Questions tagged [fastscroll]

90 questions
2
votes
1 answer

How to create Fast Scrolling with front charecter to dispaly on screen when user Drag on List of Alphabet

I am New to android, I have did the contact list like the Image look like the below, but the problem is when i click on alphabet list the charterer is not displaying, it is only displaying only when I scroll through "FastScroller" but I don't want…
Anil Deshmukh
  • 191
  • 1
  • 1
  • 9
2
votes
0 answers

Can we have a custom scrollbar on an ScrollView?

I'd like to make a custom scrollbar for one of my scrollview, and impossible to find how to do. I want my scrollbar to be more visible, and controllable like the fastScroll of the ListViews. Unfortunately there is no setFastScrollEnabled(true) on…
Bourbon
  • 1,035
  • 7
  • 19
2
votes
1 answer

Android listview search and fastscroll

I fairly new to programming for the Android platform and have some question about howto add a search box and fastscroll to the listview of my app. I have used the code of Jeff Sharkey to add a listview with headers to my app. This is working great…
Daniel
  • 1,275
  • 1
  • 22
  • 31
2
votes
0 answers

Compute vertical scroll range and offset for recycler view with different view types

My question if pretty clear. I'm trying to add fast scroll for recycler view with different view types and for that I need to calculate vertical scroll range and offset. I have 6 view types with height that depend on content. I'm using…
Olexii Muraviov
  • 1,456
  • 1
  • 12
  • 36
2
votes
2 answers

Fast scroll in an EditText

My EditText can have sometimes very large text (>1000 lines) and I want to be able to quickly reach the start or the end so I thought fast scroll was the solution, however it is not available for EditText, nor ScrollView, only for ListView. I found…
Nicolas
  • 6,611
  • 3
  • 29
  • 73
2
votes
0 answers

How to add quick/fast scroller in a RecyclerView in Android app?

I'm looking for a way to implement a quick or fast scroller (however you name it) at the right side, similar to Cabinet's app, in a RecyclerView, but can't find anything beyond a library, but I don't really like its design. May someone help me with…
Jahir Fiquitiva
  • 1,459
  • 3
  • 23
  • 47
2
votes
1 answer

ClassCastException: XAdapter cannot be cast to android.widget.BaseAdapter - FastScroller

I created my own adapter - implementing ListAdapter. I checked fastScrollEnabled in the XML: android:fastScrollEnabled="true". But, when the list/grid was being painted, I got a ClassCastException: 09-29 17:23:27.333: E/AndroidRuntime(25515): FATAL…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
2
votes
2 answers

How to implement Android's contacts list scroll index effect?

I would like to achieve Android contact's list scroll effect. I found some similar custom implementations but not the same. As always, Google creates awesome experiences on its default apps but doesn't add it to the native framework library. This…
haroldolivieri
  • 2,173
  • 18
  • 29
2
votes
1 answer

android: Unable to set fast scroll on gridview

for some reasons I m not able to setup fast scroll on gridview. mWebsitesGrid = (GridView) websitesView.findViewById(R.id.websitesGrid); boolean fastScrollSet = mWebsitesGrid.isFastScrollEnabled(); if(!fastScrollSet) { …
Vihaan Verma
  • 12,815
  • 19
  • 97
  • 126
2
votes
1 answer

How to enable fast scrolling for a ListFragment?

I use a fragment activity to hold a list fragment which renders a bunch of products: public class ProductsListActivity extends SherlockFragmentActivity { @Override public void onCreate(Bundle savedInstanceState) { …
JJD
  • 50,076
  • 60
  • 203
  • 339
2
votes
1 answer

Thumb scroll with large letter preview

I'm using a ListView object with thumb scrolling enabled and am wondering how to include a large letter preview, as can be seen in the image below: I know how to make the thumb scroll work; it's the large letter preview I'm looking for. n.b. to get…
CaptainProg
  • 5,610
  • 23
  • 71
  • 116
2
votes
1 answer

Android fastScroll on the left

Is it possible to set fastScroll on the left instead of right? like here: http://smartphoneblogging.com/wp-content/gallery/asus-eeepad-transformer-tf101-android-4-0-ics/asus_transformer_tf101_android_4_0_ics_contacts.png
krinn
  • 882
  • 2
  • 10
  • 16
1
vote
0 answers

Android List view SectionIndexer - list view not displaying curent scroll letter

I am trying to use secionIndexer with fast scroll in list view. I have implemented but on scroll of list it should popup the current letter at which we have scrolled, but its not showing that. on debug mode I came to know that getSectipons() and…
baby android
  • 23
  • 1
  • 5
1
vote
0 answers

How to Implement Sticky header with fast scroll in RecyclerView

I want to enable fast scrolling in my sticky header recyclerview I have below type of recyclerview with sticky header I'm using https://github.com/Codewaves/Sticky-Header-Grid for sticky header view implementation now i want enable fast scrolling…
1
vote
2 answers

FastScroll Behaves Strangely with a Custom ListAdapter which implements SectionIndexer

I am working on a ListActivity that has a inner class that is a child of SimpleAdapter that implements SectionIndexer. class MySimpleAdapter extends SimpleAdapter implements SectionIndexer { HashMap letters; Object[]…
dbaugh
  • 746
  • 7
  • 17