2

I have multiple views inside horizontalScrollView and is currently showing 3 views at a time on screen. When user scroll through Horizontalscrollview, some different views which are previously being hidden are now displayed on screen.

So how do I know the indices of child views which are currently displaying on screen. Please suggest some way of doing it.

user3265443
  • 535
  • 1
  • 8
  • 25
  • Possible duplicate of http://stackoverflow.com/questions/4628800/android-how-to-check-if-a-view-inside-of-scrollview-is-visible. The best answer seems to be this one: http://stackoverflow.com/a/12428154/974731 – cybersam Apr 19 '14 at 22:56
  • Thanks mate. I was searching this for couple of hours – user3265443 Apr 19 '14 at 23:02

0 Answers0