Skip to content

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

@foxtrotdev

Description

@foxtrotdev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions