0

I had a gallery and I rewrite it from gallery in Android source code.

Now i wanna get the start and stop state of it, how can I do this?

I just wanna know when did gallery start and stop, so I can make my animation start stop correctly!

MKJParekh
  • 34,073
  • 11
  • 87
  • 98

1 Answers1

0

You can tune the behaviour of the galleryview a litlle bit with calling setCallbackDuringFling(false). This should limit the calls to onItemSelected to cases where the user stopped scrolling.

Check out the link

Community
  • 1
  • 1
Md Abdul Gafur
  • 6,213
  • 2
  • 27
  • 37
  • I tried that void and it could let me know when it stop scroll,but I can't know when it start...any other choice? – Jj.stifler Jun 18 '12 at 07:12