We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6460f01 commit f539395Copy full SHA for f539395
app/src/main/java/com/hoc/pagination_mvi/ui/main/MainInteractorImpl.kt
@@ -26,7 +26,7 @@ class MainInteractorImpl @Inject constructor(
26
.let { MainContract.PartialStateChange.PhotoNextPage.Data(it) }
27
.let { send(it) }
28
} catch (e: Exception) {
29
- delay(1_000)
+ delay(500)
30
send(MainContract.PartialStateChange.PhotoNextPage.Error(e))
31
}
32
@@ -41,6 +41,7 @@ class MainInteractorImpl @Inject constructor(
41
.let { MainContract.PartialStateChange.PhotoFirstPage.Data(it) }
42
43
44
45
send(MainContract.PartialStateChange.PhotoFirstPage.Error(e))
46
47
0 commit comments