What is the format of data in the dictionary would be look like if I’ll retrieve data from firebase? When I want to access keys, I only receive Place1, Place2, and Place3. What happened to tags such as “title”?
Additionally, how to remove double quotation from the value?
All of your firebase values saved as a dictionary in in the global variable. And you have to look for the key value from this global data dictionary only you can use any label to catch what is present in the dictionary value or you can click the Do it after connecting with companion
I mean, I want to reply to the blocks you sent. What will be the output of of those blocks? Was the global title and image variable a list or dictionary?
Index 1 of global title will give you title value of the tag place1, likewise you can get it ,but the fact is you need to confirm the order of tags obtained from your firebase. Sometime random will come and you need to order it before proceeding this process. Always use do it function to cross check everytime
Argument #1 () to ‘com.google.appinventor.components.runtime.util.YailDictionary.walkKeyPath(com.google.appinventor.components.runtime.util.YailObject,java.util.List)’ has wrong type (java.lang.String) (java.lang.String cannot be cast to com.google.appinventor.components.runtime.util.YailObject)
I see. A nice way of retrieving data from Firebase. Links that are stored in Firebase has “\” backslash and I have managed to replace it. Thank you.
One last thing, can you show me the block of stored data in the “data” dictionary base on my main topic? I don’t know how’s the structure of that. I just want to learn for the next purposes.