Questions tagged [sectionindexer]

27 questions
77
votes
11 answers

How to add a fast-scroller to the RecyclerView

Background On ListView, you could have a fast scroller which allowed you to drag a scrollbar to easily scroll to wherever you wished (using fastScrollEnabled attribute) Together with "SectionIndexer" class and optionally some attributes, you could…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
13
votes
1 answer

Android RecyclerView With SectionIndexer

Anyone know how to use SectionIndexer or a substitute with RecyclerView? SectionIndexer allows ListView to popup sections when fast scrolling.
Justin
  • 3,322
  • 2
  • 22
  • 37
7
votes
1 answer

Sort contact alphabetically with Section UITableView

I have a NSMutableArray : self.contact with objects (name sorted alphabetically) : ( "Anna Haro", "Cheesy Cat", "Daniel Higgins", "David Taylor", "Freckles Dog", "Hank Zakroff", "John Appleseed", "Kate…
Vjardel
  • 1,065
  • 1
  • 13
  • 28
4
votes
0 answers

How to show text that moves along in scrollbar inside RecyclerView?

I would like to design by alphabetically section and along with it bubble which indicated text (alphabet) scrolling. I have search about same but no any solid implementation found for this UI. Does sectionIndexer will help, and yes then how? Note:…
Vishal Patoliya ツ
  • 3,170
  • 4
  • 24
  • 45
3
votes
1 answer

Android refresh ListView sections-overlay not working in 4.4

Hi Stackoverflow community, I am currently playing around with Android ListViewsections capabilties, but there seems to be an issue in Android 4.4 API. I have a CursorAdapter which populates the items from a SQLite database. When the adapter gets…
NiThDi
  • 1,007
  • 1
  • 9
  • 22
3
votes
1 answer

ListView fast scroll bars bug

I'm working on dictionary application. I have a listview with fast scroll enabled and adapter which implements SectionIndexer. When I'm working with chinese dictionary I have much more sections then when working with west-european languages and have…
Lingviston
  • 5,479
  • 5
  • 35
  • 67
3
votes
1 answer

How to make Touchable and Movable Scroll Bar in a List View

I have created a List View, which contains a bulk amount of data. Traditional Scrolling is quite slow. I would like to create the scroll view touchable, so that the user can touch the scroll bar and move it to any position, so as to scroll through…
Sahil Mahajan Mj
  • 11,033
  • 8
  • 53
  • 100
2
votes
1 answer

Custom Alphabetical sorted listview with sections

I want to make a Custom ListView with sorted alphabetical apps using section Indexer. Since Section Indexer only treat with ArrayList so how do I write custom adapter that have section indexing functionality. Same like this: Please suggest…
Ali Akram
  • 199
  • 4
  • 12
2
votes
1 answer

How to Customize Alpha-Indexer While FastScrolling

I have a ListView with AlphaIndexer implementation using SectionIndexer. I was wondering that if there is anyway to customize the Aplha-Indexer box shown while fast scrolling i.e. changing its color, background, text font/color etc. Like :…
BST Kaal
  • 2,993
  • 6
  • 34
  • 52
1
vote
0 answers

Alphabetical contact list just like android device contact list with user name and his image.

I am sharing here a screenshot. I just want to create very same contact list here as android device contact list (here as my screenshot), that looks in alphabetical order. I tried using section indexer and without using section indexer, but it is…
Mayank Pandey
  • 79
  • 1
  • 13
1
vote
1 answer

SectionIndexer shifted in mock contacts app

EDIT: Solution at bottom of post. I am creating a contact screen for an android app where I want to be able to scroll through my phones contacts. I am able to import the phones contacts, use a custom arrayadapter to organize my information, and…
1
vote
0 answers

ListView with multiple Adapters and SectionIndexers

I have an activity that contains a ListView that can be populated by different adapters. Every adapter that may populate the list is an instance of a specific class, and every one of those classes implements the SectionIndexer interface. I have…
Dor Shinar
  • 1,474
  • 2
  • 11
  • 17
1
vote
2 answers

section indexer get section for position returns 0

In my project I have class that extends ArrayAdapter and implements SectionIndexer. When implementing methods getPositionForSection and getSectionForPosition I have found some strange behaviour. Why section indexer works properly when…
1
vote
2 answers

gridview with AlphabetIndexer

I want to implement SecionIndexer in GridView but I am running into quite a lot of trouble. I have to change code of an already existing project to add it. From my research I gather that it should be possible if using cursor. Does anyone have a…
1
vote
1 answer

setListItemChecked not highlighting all of the list items

Situation I have a muliple choice mode ListView with two view types- normal and header. I load the data from the contacts app by retrieving a cursor with the names and emails and make use of the AlphabetIndexer class. My adapter extends the…
dTod
  • 13
  • 1
  • 3
1
2