Android Question Scrolling a listview using Button?

delozoya

Member
Licensed User
Hello. I would like if is it possible Scrolling a listview using Button? Or scrolling 2 listview together

Thanks
 

delozoya

Member
Licensed User
ok, but i need that the 2 listview scroll together, Please can you post a example?, Or I select the color of text of only a one line of the listview?
 

delozoya

Member
Licensed User
I try this but i need change color of línea select.
Othe forma is when i scroll a listview the other listview scroll together
 

udg

Expert
Licensed User
Hi DLZ,

if I'm not wrong, the ListView object miss a ScrollChanged event so you have no chance to intercept scrolling on first list to reflect as an action on your second list.
Both Erel and Manfred suggested to have a look on the CustomListView object which is built around a ScrollView which in turn sports a ScrollChanged event.
You may want to sync the second list "position" (based on value from first list) in that event to have your two lists scroll together.

udg
 
Top