Resolve #525
This commit is contained in:
1 parent
9ea44ff59a
commit
ee5e222a13
3 files changed
+3
-3
No files matched your search
@@ -161,7 +161,7 @@ class ReaderActivity : EhActivity() {
|
||||
}
|
||||
}
|
||||
}
|
||||
private var mGalleryProvider: PageLoader2? = null
|
||||
var mGalleryProvider: PageLoader2? = null
|
||||
private var mSize: Int = 0
|
||||
private var mCurrentIndex: Int = 0
|
||||
private var mSavingPage = -1
|
||||
|
||||
@@ -203,7 +203,7 @@ class PagerPageHolder(
|
||||
errorLayout = ReaderErrorBinding.inflate(LayoutInflater.from(context), this, true)
|
||||
errorLayout?.actionRetry?.viewer = viewer
|
||||
errorLayout?.actionRetry?.setOnClickListener {
|
||||
TODO()
|
||||
viewer.activity.mGalleryProvider?.request(page.index)
|
||||
}
|
||||
}
|
||||
errorLayout?.root?.isVisible = true
|
||||
|
||||
@@ -232,7 +232,7 @@ class WebtoonPageHolder(
|
||||
errorLayout = ReaderErrorBinding.inflate(LayoutInflater.from(context), frame, true)
|
||||
errorLayout?.root?.layoutParams = FrameLayout.LayoutParams(MATCH_PARENT, (parentHeight * 0.8).toInt())
|
||||
errorLayout?.actionRetry?.setOnClickListener {
|
||||
TODO()
|
||||
viewer.activity.mGalleryProvider?.request(page!!.index)
|
||||
}
|
||||
}
|
||||
return errorLayout!!
|
||||
|
||||
Reference in new issue
Block a user