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 25d7d6b commit e55e5b3Copy full SHA for e55e5b3
app/src/main/java/com/hoc081098/paginationmviflow/ui/main/MainFragment.kt
@@ -163,7 +163,7 @@ class MainFragment : Fragment(R.layout.fragment_main) {
163
// .throttleFirst(500, TimeUnit.MILLISECONDS)
164
.map { ViewIntent.RetryHorizontal },
165
)
166
- .onEach { mainVM.processIntent(it) }
+ .onEach(mainVM::processIntent)
167
.launchIn(viewLifecycleOwner.lifecycleScope)
168
}
169
0 commit comments