Commit c7182922 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent ea852fdd
...@@ -64,14 +64,15 @@ class BookListFragment : LazyLoadBaseFragment(), PicContentView, OnRefreshListen ...@@ -64,14 +64,15 @@ class BookListFragment : LazyLoadBaseFragment(), PicContentView, OnRefreshListen
initListener() initListener()
hotPage = 1
srlMainPage.resetNoMoreData()
picContentPresenter.getHomePageImageList(mType, hotPage, hotPageSize)
} }
override fun onResume() { override fun onResume() {
super.onResume() super.onResume()
hotPage = 1
srlMainPage.resetNoMoreData()
picContentPresenter.getHomePageImageList(mType, hotPage, hotPageSize)
} }
override fun onDestroy() { override fun onDestroy() {
......
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