Hi all, I have added favorite functionality in my app and un-favorite as well but when I delete all the content in the list, in the end it is throwing me this error. This error also fires when I re-open favorite page second time(when content is there, I have created an empty list to display message but it doesn’t work for the second time)
Below are my blocks in Favorite page-
Kindly let me know in case any other screenshots are required.
Thanks for helping
initialize global index to 0.
Also share a screenshot of show procedure.
Thanks for replying back!
I tried the suggested method and still the error is thrown.
The reason why I considered is because from empty tinydb, I am creating a list of ‘No fav yet’. If you can suggest something else, I can try that also.
This is still work in progress but here you go-
finaln_aia.aia (13.6 KB)
Kindly let me know your suggestions.
Ok, atfer some working with your project, here’s the solution.
You have to change your delete button and show procedure in fav screen like this:
Or simply drag and drop in the blocks section
Thank you sooo much! I wasted 3 days working on it and you helped me fix it in few minutes.
Glad to help you!
It’s always good practice to try to solve the problem yourself.
But if you stuck somewhere, remember that community is always here to help you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.