KenBurnsView
KenBurnsView copied to clipboard
I'm having Problem in with KenBurnsView and viewpager.
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.