Question:
I'm working on an Android App using Delphi XE8 and I need to synchronize two ListViews so that when the user downloads one, the other downloads together.
How do I do this in Delphi ?
Answer:
If you use a higher version than Delphi XE 8, click on events in listview1 and then click on the OnScrollViewChange
event and add the following code:
Listview2.ScrollViewPos := Listview1.ScrollViewPos;
This is done from this moment on, whenever you move in list 1, list 2 will scroll to the same location as the first.