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 w w w . ja v a 2 s .co m*/ import org.vudroid.core.events.DecodingProgressListener; import org.vudroid.core.events.EventDispatcher; public class DecodingProgressModel extends EventDispatcher { private int currentlyDecoding; public void increase() { currentlyDecoding++; dispatchChanged(); } private void dispatchChanged() { dispatch(new DecodingProgressListener.DecodingProgressEvent(currentlyDecoding)); } public void decrease() { currentlyDecoding--; dispatchChanged(); } }