viewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
SDKDebug.w("position: " + position + ", positionOffset: " + positionOffset + ", OffsetPixels: " + positionOffsetPixels);
}
@Override
public void onPageSelected(int position) {
setNavigationHighlight(position);
}
@Override
public void onPageScrollStateChanged(int state) {
}
});
on scroll
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.