How to make my result from firebase database continuously update at realtime?
I've been building an app that allows the user to retrieve and delete some of his own itens registered on Firebase Database, that is my function that allows that (Thanks, Zeeshan): override suspend fun getAllOnline(): MutableStateFlow<ResourceState<List<DocModel>>> { auth = FirebaseAuth.getInstance()…