Hello, Need some help is updating state in compose.
I am maintaining selected items in a list. I want to clear list and update UI. I am setting empty list in Livedata. But not getting callback in observer. Can someone please suggest.
Code Snippet:
selectedLocalityLiveData.postValue(_emptyList_())
c
Colton Idle
06/16/2022, 3:29 PM
Do you have some minimal reproducible code? I can try to run it and see what's going on.