|
|
@ -1517,8 +1517,8 @@ public abstract class PageLoader { |
|
|
|
private void chapterChangeCallback() { |
|
|
|
private void chapterChangeCallback() { |
|
|
|
if (mPageChangeListener != null) { |
|
|
|
if (mPageChangeListener != null) { |
|
|
|
readAloudParagraph = -1; |
|
|
|
readAloudParagraph = -1; |
|
|
|
mPageChangeListener.onPageChange(0, resetReadAloud); |
|
|
|
|
|
|
|
mPageChangeListener.onChapterChange(mCurChapterPos); |
|
|
|
mPageChangeListener.onChapterChange(mCurChapterPos); |
|
|
|
|
|
|
|
mPageChangeListener.onPageChange(0, resetReadAloud); |
|
|
|
resetReadAloud = true; |
|
|
|
resetReadAloud = true; |
|
|
|
mPageChangeListener.onPageCountChange(mCurChapter != null ? mCurChapter.getPageSize() : 0); |
|
|
|
mPageChangeListener.onPageCountChange(mCurChapter != null ? mCurChapter.getPageSize() : 0); |
|
|
|
} |
|
|
|
} |
|
|
|