문제

I have developed an application using viewpager and my class extends fragmentactivity. The app works just fine except that I want to send the application to an activity after the last page of the view pager when the user "flings" the screen.is this possible? please help.

Thanks!

도움이 되었습니까?

해결책

You could implement the ViewPager.OnPageChangedListener. Inside the onPageScrollStateChanged check if you are on the last page and then call whatever Activity you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top