Where to read and write data for Firebase
Currently, in my Android project, I am reading and writing data into Firebase Realtime Database in many fragments and activities. I was wondering if is there a way to condense all my reading and writing to one class or ViewModel.…