Florian
02/05/2021, 3:19 PMval bookmarks = repository.getAllBookmarkedArticles()
.stateIn(viewModelScope, SharingStarted.Lazily, emptyList())
Is it bad to initialize with emptyList()
? This is data from Room, hence it has no loading stateokarm
02/05/2021, 3:27 PMFlorian
02/05/2021, 3:29 PMokarm
02/05/2021, 3:31 PMFlorian
02/05/2021, 4:05 PMDominaezzz
02/05/2021, 9:12 PMnull
if I want to differentiate between loading and empty.Florian
02/06/2021, 10:06 AM