mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Improve: Don't Update Apps List on recreation
This commit is contained in:
parent
f6ed9e9a92
commit
54719f28e7
@ -109,7 +109,7 @@ class AppListFragment() : BaseFragment(), CursorOwner.Callback {
|
||||
(recyclerView?.adapter as? AppListAdapter)?.apply {
|
||||
this.cursor = cursor
|
||||
lifecycleScope.launch {
|
||||
repeatOnLifecycle(Lifecycle.State.CREATED) {
|
||||
repeatOnLifecycle(Lifecycle.State.RESUMED) {
|
||||
emptyText = when {
|
||||
cursor == null -> ""
|
||||
viewModel.searchQuery.first()
|
||||
|
Loading…
x
Reference in New Issue
Block a user