This app displays shopping lists on the home screen, each list containing an array of shopping items.
Users can add➕, delete➖, or update⚒️ lists or items.
amazing👏 point of the code is that
adding and updating items can utilize the same AddShoppingListItemView. The key is to pass the selected item as a parameter into the next view. So the next view have enough info to do its tasks.
The app uses Realm to store data locally.
The code originates from Mohammad Azam’s tutorial on the YouTube link: https://www.youtube.com/watch?v=975fS75no3A