Yes this is a new API in 1.5.  If you need to run on older versions, you can
copy the old code out of Contacts before it was integrated into the
framework.  (That's what I did for Rings Extended.)

On Wed, May 13, 2009 at 1:12 PM, Joel Wright <joel.wri...@gmail.com> wrote:

>
> Thanks for the help, I've got the scrollbar working how I wanted it
> and I'm working on the SectionIndexer.
>
> I just have one question left.
>
> Does this mean I'm forced to use the Android 1.5 SDK if I want
> fastScrollEnabled? - Trying to build the project at a 1.1 level gives
> me a "no resource identifier found" error on my xml layout.
>
> Thanks again,
> Joel.
>
> On May 13, 8:20 pm, Jeff Sharkey <jshar...@android.com> wrote:
> > Also, to get the A-Z overlay when using fastScrollEnabled, you'll need
> > to implement SectionIndexer for your adapter.  Something like
> > AlphabetIndexer works great if you have a sorted Cursor.
> >
> > http://developer.android.com/reference/android/widget/SectionIndexer....
> >
> > j
> >
> >
> >
> > On Wed, May 13, 2009 at 11:42 AM, Dianne Hackborn <hack...@android.com>
> wrote:
> > > Use this:
> > >http://developer.android.com/reference/android/widget/AbsListView.htm.
> ..
> >
> > > On Wed, May 13, 2009 at 3:39 AM, Joel Wright <joel.wri...@gmail.com>
> wrote:
> >
> > >> Hi,
> >
> > >> I'm having a little problem with a ListView scrollbar. The scrollbar
> > >> appears at the side as expected, but how do I get the scrollbar to
> > >> expand and become controllable in the same way it behaves in the
> > >> Contact list? Ideally I'd like all the Contacts list functionality for
> > >> my app - i.e. to allow me to control the scrollbar directly with a
> > >> finger and to show the first letter of the list elements you're
> > >> currently scrolled to.
> >
> > >> Any pointers would be gratefully received,
> > >> Thanks,
> > >> Joel.
> >
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
> >
> > > Note: please don't send private questions to me, as I don't have time
> to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> and
> > > answer them.
> >
> > --
> > Jeff Sharkey
> > jshar...@google.com
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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