Skip to content
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

Open
lishangwl opened this issue Jan 20, 2021 · 5 comments
Open

章节改变事件在哪里? #20

lishangwl opened this issue Jan 20, 2021 · 5 comments

Comments

@lishangwl
Copy link

lishangwl commented Jan 20, 2021

章节改变事件在哪里?

@lishangwl lishangwl changed the title 如何做到态度获取网站小说 章节改变事件在哪里? Jan 20, 2021
@lishangwl
Copy link
Author

嗯...,知道了

@githubzoujiayun
Copy link

嗯...,知道了

你好 章节改变事件在哪里呢, 还有工程中的那个章节列表在哪里 和设置黑夜

@lishangwl
Copy link
Author

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);
        }
    });

设置黑夜看文档介绍,我没实现

@githubzoujiayun
Copy link

githubzoujiayun commented Jan 24, 2021 via email

@githubzoujiayun
Copy link

githubzoujiayun commented Jan 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants