Hello! Is there a way to enhance the function of this button:
I have a button that is when clicked, it will clear the list on the TinyDB Tag on it. But what happens is that, when I click the button, I need to go to a different screen then go back to where the button is in order to see that the TinyDB tag is cleared (because I can see the list elements in the list view)
so is there a way where I click the Clear Button, it will clear the tag and refresh the list view so that I do not need to go to another screen then go back again to see the changes.
After that ClearTag you can update the ListView.Elements. If what you are showing in that ListView is the content of prodList, which is now empty, you can set the ListView.Elements directly to
Hi again! I would like to ask how I can do it, wherein if the name of the product already exists, it should not add on the list so that I will not have 2 lists of products with the same name: