I\'ve an android app where I\'m retrieving data into a Fragment. And I believe that Firebase manages its asynchronous calls. But still I\'ve doubt the if we need to write th
The Firebase Database client performs all network and disk operations off the main thread.
The Firebase Database client invokes all callbacks to your code on the main thread.
So network and disk access for the database are no reason to spin up your own threads or use background tasks. But if you do disk, network I/O or CPU intensive operations in the callback, you might need to perform those off the main thread yourself.