Skip to content

Commit

Permalink
fix: [ANDROAPP-6088] scroll to top when update list (#3661)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmateos authored Jun 3, 2024
1 parent 383a448 commit 020f6ff
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ class SearchTEList : FragmentGlobalAbstract() {
}
}
})
lifecycleScope.launch {
liveAdapter.loadStateFlow.collectLatest {
scrollToPosition(0)
}
}
}.also {
recycler = it
}
Expand Down

0 comments on commit 020f6ff

Please sign in to comment.