Skip to content

Commit

Permalink
Decrease delay
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Jul 22, 2024
1 parent 4772a42 commit 6a136e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ListViewModel : ViewModel() {
loadingStateLiveData.postValue(true)
viewModelScope.launch(Dispatchers.Default) {
list.addAll(createPage())
delay(7500L)
delay(3000L)
listLiveData.postValue(ArrayList(list))
}.invokeOnCompletion { loadingStateLiveData.postValue(false) }

Expand Down

0 comments on commit 6a136e1

Please sign in to comment.