Skip to content
Advertisement

Tag: firebase-realtime-database

Can I order firebase addValueEventListeners so that they execute in a specific order? [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 1 year ago. This post was edited and submitted for review 1 year ago and failed to reopen the

Difference between addChildEventListener, addValueEventListener, and addOnCompleteListener when using orderByChild()?

I’m trying to sort and display data from Firebase using orderByChild() and used: I kept on wondering why it’s not sorting until I realized that childEventListener was used in the documentation. It should’ve been: What is the difference between the two and addValueEventListener when it comes to using orderByChild or any sorting method? Does get() not follow orderByChild()? Answer All

Advertisement