Reproduce:
- I have 3 elements in ViewPager
- I am on item's position 0
- I click the button which triggers selection next item's position
- ViewPager selects next position, calls onPageSelected
- ViewPager sets background color to next one (i.e red->blue)
- ViewPager starts evaluating color from item's position 0 to item's position 1 (i.e from red into blue)
Look at points 5. and 6. between these operations we can detect blink.
Solution:
Remove line: 129-139 from viewPager's listener: PagerActivity.java
Reproduce:
Look at points 5. and 6. between these operations we can detect blink.
Solution:
Remove line: 129-139 from viewPager's listener: PagerActivity.java