how can I kong when gallery is start scroll and stop scroll
-
15-06-2021 - |
質問
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!
解決
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
所属していません StackOverflow