<How to properly update the recycler view when I r...
# stackoverflow
r
How to properly update the recycler view when I retrieve data from firestore I am making a chat application with firebase firestore, I made a snapshot listener to listen to any changes happened in this function private fun listenConversation() { database.collection(Constants.KEY_COLLECTION_CONVERSATION).whereEqualTo( Constants.KEY_SENDER_ID, preferenceManger.getString(Constants.KEY_USER_ID) ).addSnapshotListener(eventListener) database.collection(Constants.KEY_COLLECTION_CONVERSATION).whereEqualTo(...