Pablo
06/07/2024, 10:32 PMuserPreferencesRepository.searchText
, why this can be done:
userPreferencesRepository.searchText.collect{ searchText = it }
but this not?
searchText = userPreferencesRepository.searchText.collect{it}
returning simply it from collect should work, but instead it gives me this error:
Type mismatch. Required:String Found:Unit
Stylianos Gakis
06/07/2024, 10:38 PMPablo
06/07/2024, 10:50 PM