help with carts using Firebase and AppStates

Resolved

Please anyone could help me with my logic, I can get it work right.
I need to create a shopping list. But the customer wants the user, aways use a list to shopping their things on app market.
Here is how it should work: Create list -> add thing to a list. and then after that the user can input
more quantity and then check out.
And if the user does not have a shopping list, the user cant chose nothing on app.

IDK how to do, I dont want a tutorial to do, just give me a help how to improve this in my app.

Thanks a lot for some one to help me

1
4 replies