I want to get the data stored in the DB without being restricted to access it only when there is a data change.
I've seen this post from 2016: How to access Firebase data without using addValueEventListener Which suggested to use addValueEventListener. I've also seen this post: Accessing data in Firebase databse Without good answer.
ValueEventListener will trigger the onDataChange only when the database will have a change.
How else can I access the database without something being changed in the database?
For now I will write simple harmless change in order to access the data, but i'm wondering if it's the only way to do it. Thanks