I want to make another screen with a listview where it shows every medication the user has saved, Is something like this possible?
I really really really need help for this project, the deadline is almost coming and I need my app fully functioning... that's why I'm asking a lot of questions and questioning simple things...
I tried that, but when I use the GetTags function to display them after reopening the app, the listview gives me an error. Based on the blocks I sent earlier, can you show me what I should have done instead with a printscreen of the blocks?
On a different topic, is there a link or a manual for the site that explains where everything on the site is located and what they can do, like an instruction manual? It's because I need to make a thing called an "Technical Manual" that shows how did I make this app like step by step and I need something to base myself off.
Clear TinyDB and restart your test
Use Do it to debug
Let us know, which error you get and show us a screenshot of your relevant blocks
No, I will not do that
It is your school assignment and it is you who should do the work
We here in the community are here for questions and support, we are not here to do your work
I'm currently saving the medication alarm date by the tag 1 because I can't figure out a better way, now, when I go to another screen and put try to make the item appear on the listview when the screen inicializes with this code
The better way I explained earlier... here the suggestion again, now the 4th time
The value you are storing in TinyDB is a string
The Elenents property expects a list, therefore the error
You can use the ElementsFromString to not get the error...
but like this you can display only one alarm time in your listview... this is not what you need...
If you want to display several alarm times in your listview, then you should have somewhere a list of all those alarm times... my suggestion earlier could do it...
Taifun
But I didn't understand how to follow your suggestion that's why I was asking for the blocks, I don't know how to solve the data like you told me to, I already tried something but it still didn't work...
A tag is something to identify and the value is the thing identified by the tag?
And yes, the global AlarmList is a List that I want to use to store the Alarms...
And no, I'm not colorblind.
What you have is the list of all alarms as tag and a specific alarm time as value
The suggestion was
what about using your alarm time as tag and storing all data for a specific alarm time as value?
You then could also use the TinyDB.GetTags method to get a list of all stored alarm times to display those in the listview after reopening the app next time
With my suggestion you do not need to store your list anymore, because you can get it always by using TinyDB.GetTags
You are still in the early stages of your project but the due date is 9 of July...
Let me again suggest you to reduce your expectations and simplify your project. You ran out of time.
Have only a daily medication reminder for 1 medicament and get that reminder running correctly instead of having an unfinished non working project in the end.