-
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
关于阅读器的一个疑惑,大佬看过来 #8
Comments
我都是先加载一边章节列表,再定位到具体的章节。这样不大好。还有一个问题,设置章节数据后,adapter更新,会先加载一次第一章,然后再跳到指定章节。。。。。影响了我里面的一个业务逻辑 |
我已经把源代码改成适应我的业务需求了,你也可以试试看 |
怎么改, 能否交流一下 |
可以把下载章节内容都放到外部实现,即在adapter的download重写方法里面去实现下载章节内容逻辑,下载完成后返回给readerview里面去就可以了 readerview可以看作一个管理类,阅读页面的实现都在ReaderResolve类里,只要把内容传过去就可以了 |
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: