dynamical Listview scroll on button click

Put your problem here if it does not fit any of the other categories.

dynamical Listview scroll on button click

Postby praveenb » Thu May 27, 2010 7:22 pm

Hi,

I need to set vertical scroll by certain amount in listview on button click event.

How can i achieve this

i tried using scrollBy(x,y) and scrollTo(x,y) methods. It is scrolling to spcified amount but missing or removing list items after the specified amount of scrolling.

Pls let me out of this issue

Thanks
praveenb
Freshman
Freshman
 
Posts: 9
Joined: Thu May 27, 2010 7:10 pm

Top

Re: dynamical Listview scroll on button click

Postby asolanki » Fri May 28, 2010 7:34 am

Hi!!

may be you can try with ListView's setSelection method

it may help you
asolanki
Senior Developer
Senior Developer
 
Posts: 151
Joined: Thu Jan 08, 2009 7:32 am

Re: dynamical Listview scroll on button click

Postby praveenb » Fri May 28, 2010 6:01 pm

Hi asolanki,

Thanks a lot, it solved the isssue.
praveenb
Freshman
Freshman
 
Posts: 9
Joined: Thu May 27, 2010 7:10 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 9 guests