Does Kotlin ViewModel update when changes occur in Firebase Firestore?
I have a ViewModel that accesses the database (Firebase) and counts documents. The structure of the database is this: Collection "Posts" --> Document --> Collection "Likes" --> Documents. So I access the collection "Posts" and then for each document that…