Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top