Hi,

Look in the code of AlphabetIndexer which implements SectionIndexer as
well.
http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/widget/AlphabetIndexer.java&q=alphabetindexer&sa=N&cd=1&ct=rc

I think the function you're interested in is setCursor.

Good luck.

Mor.
www.contapps.com


On Nov 4, 1:14 pm, manigault <manig...@gmail.com> wrote:
> Hi all , I have ListView with adapter class which extends ArrayAdapter
> and implementsSectionIndexer. The problem is section indexer is not
> updated when adapter data is changed. Even if i add new elements the
> section remain the same. I tried some options
> setFaseScrollEnabled(false);
> setFaseScrollEnabled(true);
> but i got IndexOutOfBounds exception. So how can i updatesectionIndexerwhen 
> adapter's data is changed.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to