Back to project page android-pdfview.
The source code is released under:
GNU General Public License
If you think the Android project android-pdfview listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.vudroid.core.models; /*from www . j a v a 2s . c om*/ import org.vudroid.core.events.CurrentPageListener; import org.vudroid.core.events.EventDispatcher; public class CurrentPageModel extends EventDispatcher { private int currentPageIndex; public void setCurrentPageIndex(int currentPageIndex) { if (this.currentPageIndex != currentPageIndex) { this.currentPageIndex = currentPageIndex; dispatch(new CurrentPageListener.CurrentPageChangedEvent(currentPageIndex)); } } }