Joining a room duplicates the items in the adapter list
AdamMc331 opened this issue · 4 comments
AdamMc331 commented
AdamMc331 commented
Part of this fix is going to be to remove the two recyclerviews and switch it to one.
AdamMc331 commented
Thought: If we make this a Set instead of List, the data structure could handle preventing dupes for us.
Mauker1 commented
Adam, I’m having a Dejavu with this conversation.
--
Maurício Pessoa
TristanWiley commented
Fixed this bug. Was calling the add rooms on every new event. Now only calls on first load and when adding a room from the dialog.
This can be improved a lot in the future with some major refactoring and cleanups, for now works fine.