ViewPager setCurrentItem(pageId, true) does NOT smoothscroll

前端 未结 13 1198
予麋鹿
予麋鹿 2020-12-02 13:01

I am compiling on SDK 4.03, Samsung Infuse Android 2.2, Support Library for Android 4, and using ViewPager in my app, actual swipe works fine, but when I do



        
13条回答
  •  没有蜡笔的小新
    2020-12-02 13:40

    After wasting my whole day I found a solution set offscreenPageLimit to total no. of the page.

    please follow this https://stackoverflow.com/a/54800154/9097612

提交回复
热议问题