Commit 183fe3e1 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 72c78c31
......@@ -95,7 +95,12 @@ class MovieFragment : LazyLoadBaseFragment(), PicContentView, OnLoadMoreListener
} else {
srlMainPage.finishLoadMore()
}
hotStyleAdapter.notifyItemChanged(data.list.size + 1)
try {
hotStyleAdapter.notifyItemChanged(data.list.size + 1)
} catch (e: Exception) {
e.printStackTrace()
hotStyleAdapter.notifyDataSetChanged()
}
}
}
}
......
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