I want that the information stored on the database on firebase can be shown to the user via a list, that is why I am using the listview. but I am having some problems:
I can not use the taglist from Firebase, so when I get the information from there to the listview it is on json format and I don not know how to change it.
about the dynami components, I can create buttons but when I create a new one it overwrites the previous one, and I want that all buttons stay at the same time on the screen.
I can not find a way to make that the listview selection appears on a textbox, like when you select something.
I hope I made myself clear, I really need some help with this.
Because I need that when a new elemelent is added to the listview it creates a button that leads the user to another screen. That is why I used dynamic components. Maybe what you say is also a good idea, but how I said, it seems that I can not make work the selection option of the listview. I you could hello me with that I would apreciate it.
That is because I am not using the tag list, maybe i left that block there. but when I tried to use it following various tutorials, it did not work and that is why I had to use a list, but I would preffer to use the taglist instead of lists.
and about the listview selection, I do not understand how to put the text from that selection on a textbox and how to do what you are saying instead of the dynamic buttons.
Show your data in the firebase console if using your own firebase project, or are you using the MIT provided instance?
Firebase doesn't like numbers to be used as tags (e.g. 1,2,3,4) this confuses firebase because it thinks you are using an array, which firebase handles differently. This might be why the taglist does not work.
and this also begs the question, if you were intending to create a button for each item in your list, and the buttons are for opening a screen, how many screens are you intending to have ?
They are for the same screen because how you say, there would be too many screens.
Also I am going to try the number thing with the tag list and the listview thing. I will tell if it works. Thanks for the help so far.
I was going to ask that. How could I simplify my data?
because for now it shows the information like that, but I want that the name of the crop and the number of it appear together on the listview.