开发者

Issue with ViewPager in application

开发者 https://www.devze.com 2023-04-09 00:12 出处:网络
I know we can flip pages horizontally using ViewPager.But is there any function which i can override which can catch the action when i will flip pages left and right.I mean any function which will be

I know we can flip pages horizontally using ViewPager.But is there any function which i can override which can catch the action when i will flip pages left and right.I mean any function which will be called when i wi开发者_如何学Goll flip left and any function which will be called when i will flip right.Anyone having any idea please share. thanks in advance


You can detect the page transition by calling setOnPageChangeListener() and specifying your own OnPageChangeListener.

0

精彩评论

暂无评论...
验证码 换一张
取 消