Find specific item in list Firebase

Long story short, you have to keep the variable type in mind with any operation. orderedList is a list and initialized using an empty list block.

Therefore when you try to assign any value to orderedList you have to use the list blocks not the text blocks.

And by using “value” in the “get” block directly as in my example I am using the text block as I am converting “text from list” in the save session??

If you saved the orderedList as a text value (item1,item2,item3) then whenever you retrieve it, you are retrieving text. and you have to convert it back to list to be assigned to orderedList or used by a List Viewer.

Hope this makes it clear.