I'm getting a crash that appears randomly, the cod...
# android
y
I'm getting a crash that appears randomly, the code is very simple:
Copy code
mainHandler.post {
    if (messages.removeIf { it.id == messageId })
        messagesLiveData.value = messages
}