Yes, you can easily query your Firebase database in every action, rather than transferring data. If you turn on the hardness of the disk, it will be a local read operation. But since you are connecting a listener (or supporting it with keepSynced() ), this will lead to network traffic.
But do not use Firebase as a standalone database. It is truly designed as an online database that can run from short to intermittent shutdown periods. In offline mode, it will support a write queue. As this queue grows, local operations and application startup slow down. Nothing serious, but it can add up over time.
source share