i am doing an app that could save,update and delete data from the firebase. i use realtime data for the firebase. then i wanted to show my data inside a table. for the original block i uses listview to show the data. i try to use the tableviewer extension but i dont know how. please guide me.
You may want to consider using a YAML layout in your listview:
but i want to change it. instead of using listview, i want to use tableviewer to display the store data.
Then read the entire topic to get an understanding of how to use Tableviewer
In essence, you will need to create a list of lists from your firebase data.
does this mean i need to reconfigure the firebasedb gotvalue block into list of list?
Really hope you can guide me because i just started using it this month.
You do not have to, but you would need to manipulate the database output to make a list of lists, e.g. like this:
[["A","B","C"],[1,2,3],[2,3,4],[3,4,5]]
is it like this?
Not really, let me provide you with an example of how I might do it, using Firebase RTDB as it should be used.
Thank you so much for your guidance!!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.