Android-Material-Design-for-pre-Lollipop icon indicating copy to clipboard operation
Android-Material-Design-for-pre-Lollipop copied to clipboard

When I select next item's position, it's background blinks to another color and then start evaluating from primary color to destination color

Open foxtrotdev opened this issue 6 years ago • 0 comments

Reproduce:

  1. I have 3 elements in ViewPager
  2. I am on item's position 0
  3. I click the button which triggers selection next item's position
  4. ViewPager selects next position, calls onPageSelected
  5. ViewPager sets background color to next one (i.e red->blue)
  6. 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

foxtrotdev avatar Jun 30 '18 08:06 foxtrotdev