My scenario is actually i'm using this kenBurnsView in collapsing toolbar and bellow collapsing toolbar i have viewpager and tablayout. I'm changing the image as
mViewPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
changeHeaderImage(position);
}
the problem is when i touch the screen for swiping viewpager image moves arbitrarily until i stop touching it.
My scenario is actually i'm using this kenBurnsView in collapsing toolbar and bellow collapsing toolbar i have viewpager and tablayout. I'm changing the image as
the problem is when i touch the screen for swiping viewpager image moves arbitrarily until i stop touching it.