scrollBy and scrollTo won't work in ListView. You have to use setSelection(). FroYo will provide better support for programmatic scrolling by letting you start smooth scrolls.
On Tue, Apr 13, 2010 at 3:26 AM, Kumar Bibek <[email protected]> wrote: > On the ListView, there are two methods, > > a. scrollBy > b. scrollTo > > You can also use the setSSelection method to select an item in the > ListView > > You can use these two methods to scroll to any position. > > Thanks and Regards, > Kumar Bibek > > On Apr 13, 3:22 pm, oriharel <[email protected]> wrote: >> I need to show a list that is scrolled to a specific item. >> >> how can I do it? >> >> Ori > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

