CMPUT 301

Software Engineering

Lab 5 Instructions

Lab 5 Instructions

Lab 5 Participation Exercise

Proper completion of this exercise is considered as part of course participation.

In this exercise it is your task to add the ability to delete Cities and integrate this functionality with the Firestore database, allowing for the persistence of deletions.

After applying the changes in the lab demo, add the ability to delete cities from the ListView and apply these same deletions to your instance of the Firestore database. If you have implemented this functionality correctly, restarting your app should not have an impact on what cities are displayed in your ListView after any addition or deletion actions.

Note: the design of the deletion functionality is up to you, however, we have uploaded a few mockups to give you some ideas.

Screen1 Screen2 Screen3 Screen4

Submission

  1. Fork and then clone this repository
    • Make sure your forked repository is public
    • Hint: Use git clone
  2. Add your Android Studio Project changes to your forked repository
    • Hint: Use git add, git commit, and git push
  3. Update the README.md file with your details and references/collaborators
  4. Update the LICENSE.md file with your full name
  5. Submit the link to your GitHub repository on Canvas

Due Date

Friday after the Thursday lab at 5 PM