From 6a136e1d93871e9b3f7402b7461f1733ddaf05fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAben=20Sousa?= Date: Mon, 22 Jul 2024 19:45:18 +0100 Subject: [PATCH] Decrease delay --- .../dpadrecyclerview/sample/ui/screen/list/ListViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/src/main/java/com/rubensousa/dpadrecyclerview/sample/ui/screen/list/ListViewModel.kt b/sample/src/main/java/com/rubensousa/dpadrecyclerview/sample/ui/screen/list/ListViewModel.kt index 90ce093f..9ee954cc 100644 --- a/sample/src/main/java/com/rubensousa/dpadrecyclerview/sample/ui/screen/list/ListViewModel.kt +++ b/sample/src/main/java/com/rubensousa/dpadrecyclerview/sample/ui/screen/list/ListViewModel.kt @@ -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) }