public class

ViewPager.SimpleOnPageChangeListener

extends java.lang.Object

implements ViewPager.OnPageChangeListener

 java.lang.Object

↳androidx.viewpager.widget.ViewPager.SimpleOnPageChangeListener

Overview

Simple implementation of the ViewPager.OnPageChangeListener interface with stub implementations of each method. Extend this if you do not intend to override every method of ViewPager.OnPageChangeListener.

Summary

Constructors
publicSimpleOnPageChangeListener()

Methods
public voidonPageScrolled(int position, float positionOffset, int positionOffsetPixels)

public voidonPageScrollStateChanged(int state)

public voidonPageSelected(int position)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SimpleOnPageChangeListener()

Methods

public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels)

public void onPageSelected(int position)

public void onPageScrollStateChanged(int state)