yes!
myListView.scrollTo(0, PositionY); Just this kind of api is used to every
page without scroll, for example, you can see another page using the next
page button, when disabling scolling action.

On Sun, Aug 1, 2010 at 9:19 PM, greg <sep...@eduneer.com> wrote:

> I use myListView.setSelection(anyPosition) to scroll the list so that
> "anyPosition" is at the top of the list (e.g., anyPosition set to 410
> results in the display of items 410 through 416 of 2255 items).  That
> is the behavior I want so I've never experimented with scrollTo,
> scrollBy, or setSelected.
>
> On Jul 30, 9:07 am, Rodrigo Otávio <rodrigo.otavi...@gmail.com> wrote:
> > Hi,
> > I have a listview displaying my data.Ok.
> > I want to set the scroll position in a position of my choice, but I
> > just cant do it.
> >  I used :
> >
> >          myListView.setSelection( anyPosition );
> >          myListView.setSelected(true);
> >
> > and has not worked. I also tried :
> >
> >         myListView.scrollTo(0, PositionY);
> >         and
> >         myListView.scroolBy(0, PositionY);
> >
> > and there’s a strange behavior, this two methods doesn’t put the
> > scrool in the “PositionY”, it made the “PositionY” be the first
> > position in the list, cutting everything that exist before.
> >
> > Any help would be much appreciated.
> > Thanks.
> >
> > Rodrigo.
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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