Commit 2a45c2f4 authored by jyx's avatar jyx

代码优化

parent 64b8bfe2
...@@ -158,7 +158,7 @@ class LongBookReadActivity : BaseActivity(), View.OnClickListener, BookReadView ...@@ -158,7 +158,7 @@ class LongBookReadActivity : BaseActivity(), View.OnClickListener, BookReadView
//书籍 //书籍
mPageLoader = pageview.getPageLoader(mBookModel) mPageLoader = pageview.getPageLoader(mBookModel)
pageview.animType = AnimType.COVER pageview.animType = AnimType.ALIKE
//从数据库加载分章信息 //从数据库加载分章信息
mPageLoader?.mChapterList = LitePal.where("book_id=?", "" + mBookModel?.id) mPageLoader?.mChapterList = LitePal.where("book_id=?", "" + mBookModel?.id)
.find(TxtChapterModel::class.java) .find(TxtChapterModel::class.java)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment