Reset progress indicator on retry
This commit is contained in:
1 parent
f9cb3d769f
commit
c57fd0a923
2 files changed
+2
No files matched your search
@@ -124,6 +124,7 @@ class PagerPageHolder(
|
||||
* Called when the page is queued.
|
||||
*/
|
||||
private fun setQueued() {
|
||||
progressIndicator.setProgress(0)
|
||||
progressIndicator.show()
|
||||
errorLayout?.root?.isVisible = false
|
||||
recycle()
|
||||
|
||||
@@ -168,6 +168,7 @@ class WebtoonPageHolder(
|
||||
*/
|
||||
private fun setQueued() {
|
||||
progressContainer.isVisible = true
|
||||
progressIndicator.setProgress(0)
|
||||
progressIndicator.show()
|
||||
removeErrorLayout()
|
||||
frame.recycle()
|
||||
|
||||
Reference in new issue
Block a user