I have built an app which I now have finished, so now I thought I would “re-build” it, just for learning practice, and this time I want to use Firebase instead of Airtable which I had for the previous version.
And with Airtable I learned that if I wanted to get a specific value from a specific row in Airtable, I could use “_id”.
But how can I do with Firebase?
I am trying to add a delete function from my dataViewerList by swipe to Left.
I followed a tutorial that said I could simply add “null” as the value in my Saving-block for the RealTimeDataBase. But when I do so it will remove ALL my items. Does anyone have any tips to me how I can do this?
This is How this tutorial shows:
This is how I do:
So in the tutorial only one (the desired) item gets deleted.
In my app the whole list gets deleted.
But I can’t figure out what’s the different…And I can’t see how my Realtime data base would know what item this row ID in me DVL is…
How would you have done? Any tips?
(“SyncWithDB” is a function I made that ensures that everything in my Firebase list is synced and viewed in my DataViewerList as well).