List resets/empty after Firebase Got Value

Hi, I’m having problems with my list that becomes empty/resets after I run Firebase Get Value

The block above should add the items to the list “book”. However, after the Get Tag list event is done, the list is empty.

I want to observe the result after a pair has added to the list, so I added a list view inside the Get Value event. If I add it inside the Get Value event, the list contains the results I wanted but if I add a list view after the Get Value call function inside the loop, the list becomes empty?

Could this be a bug or is there something I’m missing that has to do with global variable behaviour?

UPDATE: I solved it by adding timer after they are added into the list. I’ll just post it here just in case someone else has the same problem.

1 Like

Good Job…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.