antonyt / InfiniteViewPager

Augment Android's ViewPager with wrap-around functionality.
MIT License
694 stars 193 forks source link

Sometimes there will be blank pages (the data has been set to more than 4)? #46

Open dtboy1995 opened 5 years ago

dtboy1995 commented 5 years ago

In my case, I play loop it in the timertask and change viewpagerTransform every time (It's like random animation),But there will always be a blank page at some time.

private Handler mh = new Handler() {
        @Override
        public void handleMessage(Message msg) {
            super.handleMessage(msg);
            moveNextPosition();
       }
};

Any help is greatly appreciated