详情页下拉刷新 close #2912
This commit is contained in:
@@ -113,10 +113,6 @@ class BookInfoActivity :
|
||||
override fun onActivityCreated(savedInstanceState: Bundle?) {
|
||||
binding.titleBar.setBackgroundResource(R.color.transparent)
|
||||
binding.refreshLayout.setColorSchemeColors(accentColor)
|
||||
binding.refreshLayout.setOnRefreshListener {
|
||||
binding.refreshLayout.isRefreshing = false
|
||||
refreshBook()
|
||||
}
|
||||
binding.arcView.setBgColor(backgroundColor)
|
||||
binding.llInfo.setBackgroundColor(backgroundColor)
|
||||
binding.scrollView.setBackgroundColor(backgroundColor)
|
||||
@@ -427,6 +423,10 @@ class BookInfoActivity :
|
||||
}
|
||||
}
|
||||
}
|
||||
refreshLayout?.setOnRefreshListener {
|
||||
refreshLayout?.isRefreshing = false
|
||||
refreshBook()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setSourceVariable() {
|
||||
|
||||
Reference in New Issue
Block a user