-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
章节改变事件在哪里? #20
Comments
嗯...,知道了 |
你好 章节改变事件在哪里呢, 还有工程中的那个章节列表在哪里 和设置黑夜 |
mReaderManager.setOnReaderWatcherListener(new OnReaderWatcherListener() {
设置黑夜看文档介绍,我没实现 |
可以设置长按监听吗 长按选中阅读中的文字吗
…------------------ 原始邮件 ------------------
发件人: "glongdev/Reader" <notifications@github.com>;
发送时间: 2021年1月24日(星期天) 晚上11:06
收件人: "glongdev/Reader"<Reader@noreply.github.com>;
抄送: "邹家运"<974454738@qq.com>;"Comment"<comment@noreply.github.com>;
主题: Re: [glongdev/Reader] 章节改变事件在哪里? (#20)
mReaderManager.setOnReaderWatcherListener(new OnReaderWatcherListener() {
@OverRide
public void onPageChanged(int pageIndex) {
Log.d(TAG,"mReaderManager onPageChanged pageIndex " + pageIndex);
//Toast.makeText(ExtendReaderActivity.this, "第" + pageIndex + "页", Toast.LENGTH_SHORT).show();
}
@OverRide public void onChapterChanged(int chapterIndex, int pageIndex) { Log.d(TAG,"mReaderManager onChapterChanged chapterIndex " + chapterIndex + " pageIndex " + pageIndex); //Toast.makeText(ExtendReaderActivity.this, "第" + chapterIndex + "章" + "第" + pageIndex + "页", Toast.LENGTH_SHORT).show(); Log.d(TAG,"mReaderManager mChapterContentData.size " + mChapterContentData.size()); if (chapterIndex != 0 && ((mChapterContentData.size() -1) - chapterIndex) < 1){ Log.d(TAG,"mReaderManager initData "); //initData(); } } @OverRide public void onChapterDownloadStart(int chapterIndex) { Log.d(TAG,"mReaderManager onChapterDownloadStart chapterIndex " + chapterIndex); } @OverRide public void onChapterDownloadSuccess(int chapterIndex) { Log.d(TAG,"mReaderManager onChapterDownloadSuccess chapterIndex " + chapterIndex); } @OverRide public void onChapterDownloadError(int chapterIndex) { Log.d(TAG,"mReaderManager onChapterDownloadError chapterIndex " + chapterIndex); } });
设置黑夜看文档介绍,我没实现
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
你好 可以异步加载章节内容?就是我先加载第一张看完第一张后再加载第二章
…---原始邮件---
发件人: "lishangwl"<notifications@github.com>
发送时间: 2021年1月24日 23:06:10
收件人: "glongdev/Reader"<Reader@noreply.github.com>;
抄送: "Comment"<comment@noreply.github.com>;"zoujiayun"<974454738@qq.com>;
主题: Re: [glongdev/Reader] 章节改变事件在哪里? (#20)
mReaderManager.setOnReaderWatcherListener(new OnReaderWatcherListener() {
@OverRide
public void onPageChanged(int pageIndex) {
Log.d(TAG,"mReaderManager onPageChanged pageIndex " + pageIndex);
//Toast.makeText(ExtendReaderActivity.this, "第" + pageIndex + "页", Toast.LENGTH_SHORT).show();
}
@OverRide public void onChapterChanged(int chapterIndex, int pageIndex) { Log.d(TAG,"mReaderManager onChapterChanged chapterIndex " + chapterIndex + " pageIndex " + pageIndex); //Toast.makeText(ExtendReaderActivity.this, "第" + chapterIndex + "章" + "第" + pageIndex + "页", Toast.LENGTH_SHORT).show(); Log.d(TAG,"mReaderManager mChapterContentData.size " + mChapterContentData.size()); if (chapterIndex != 0 && ((mChapterContentData.size() -1) - chapterIndex) < 1){ Log.d(TAG,"mReaderManager initData "); //initData(); } } @OverRide public void onChapterDownloadStart(int chapterIndex) { Log.d(TAG,"mReaderManager onChapterDownloadStart chapterIndex " + chapterIndex); } @OverRide public void onChapterDownloadSuccess(int chapterIndex) { Log.d(TAG,"mReaderManager onChapterDownloadSuccess chapterIndex " + chapterIndex); } @OverRide public void onChapterDownloadError(int chapterIndex) { Log.d(TAG,"mReaderManager onChapterDownloadError chapterIndex " + chapterIndex); } });
设置黑夜看文档介绍,我没实现
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
章节改变事件在哪里?
The text was updated successfully, but these errors were encountered: