I’m following the chat app course quite closely, while building my own app in parallel.
I either haven’t got to, or I have missed, the point where getChats is called again (after the init call in the view model) to show the new chat that has just been created in the chats list.
Can anyone point me to it?
I’m about to learn about Firebase listeners, and that may be the solution, but I feel like it shouldn’t be needed to show a new chat that the user themselves created and that calling getChats again would take care of that.
Thanks!