Hello Everyone,
I am creating an interface in which the user enters their task and the task is stored in firebase.
The items are repeating (when ever I refresh the companion screen) in the List which I have created using Dynamic Components by @yusufcihan
The items are retrieving and are appending from Firebase Realtime Database, in Firebase all the items are arranged as I needed but in the app they are repeating almost up to 5 times.
@Taifun Thanks for your response,
The list is not empty and is filled with items, whenever I add an item to the list the item repeats but in the firebase there is no repetition.
@Taifun but in my app there is items but also its giving an error,
To clarify, I created new project but the same problem occurred and this is the snapshot of companion of that project
You need to accept that at some point in your blocks, you are trying to get an item from an empty list. Then you must debug your blocks where there is a loop with a list.
Umm… I have just explained you how can you write the code. I am not using pc at the moment so I can’t show you the codes. Once I will get access to my pc I will tell you…
Hi @Mr_PRAKASH_THUL,
Thanks for the help the problem is solved.
However I am getting a new error.
,
Accept that everything is working good.
These errors are the links of the images which I am getting from firebase and putting them into Leoprofile extension by the method of select list item block.
And I also tried on screen error occurred block to ignore the error but unfortunately error is still appearing.
Show your codes… and a what time you get this error…
Edit: I just saw your codes in that you have set that if tag is equal to a value then firebase DB save value help1 create empty list… Try to check you codes one by one and disable your codes to find your error…