Thanks !

Actually I was calling this method but right after I called a
setAdapter ... So the selection was lost !

Thanks for your helpfull answer !




On 19 fév, 13:38, for android <forandr...@gmail.com> wrote:
> listView.setSelection(position);
>
> On Thu, Feb 19, 2009 at 5:55 PM, CG <veloid.cont...@gmail.com> wrote:
>
> > Dear all,
>
> > I am facing a strange an issue that should simple to solve I suppose.
> > I wonder how can I automatically scroll to see an element in a list
> > view. Let's say I know that I want to see the element view number 6 in
> > my list view, how do I scroll my list to see this element ?
>
> > I look at the API but without any success, just a word on where to
> > look will be really appreciated.
>
> > Thanks for your help.
>
> > C.
--~--~---------~--~----~------------~-------~--~----~
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