COSC481W-2024Winter / ResoluteApp

A fitness tracking/logging application with social media aspects. The purpose of Resolute is to encourage users and their friends to be involved in each other's fitness endeavors through non-intrusive mobile notifications.
0 stars 1 forks source link

feat: Removing friends #51

Closed kbedoway closed 8 months ago

kbedoway commented 8 months ago

Overview This pull request is to merge the branch that gives users the ability to remove friends from their current friends list. This new feature is important for users as they will be able to easily control who they would like to share their fitness progress with.

Detailed Summary Adds an onClickListener for a table row in the friends table to the fillTable() function in FriendsFragment.java. Adds a Remove Friend AlertDialog to show Remove and Cancel options. Adds methods to fillTable() function for removing friend from user's friends collection and friend from user's friends collection. Adds toast messages for removal success "Friend Removed" and failure "Error removing friend".

Removed/Changed Tags N/A

Closes issue #48