Search code examples
androidgallerysynchronize

Synchronize two Galleries


I have an activity with two galleries. I want to synchronise both galleries so when I'm moving in one gallery, I should move the other gallery to match the same item.

I don't know how to accomplish this. I though it could be done by synchronising the onScroll event, I followed a good attempt on this, but it doesn't work. I assume it's because I'm not interested on the scroll event, maybe on the fling event?

Anyway, I don't know which is the proper event to observe and how to implement this. Can you help me out?


Solution

  • Is it possible to just use one Gallery and have the View that it displays display both your items?