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

fix: Navigation bug involving tables #66

Closed agentry5 closed 7 months ago

agentry5 commented 7 months ago

Overview: Fixed a bug that caused crashes when navigating too quickly.

Summary: The bug in question was solved by preventing navigation until a user's device is done with their current FireStore query, either by succeeding or failing to retrieve data from FireStore, or by skipping the query if the user's device is offline. All fragments that contain a table had their .java files edited to solve this bug. PrevActivityFragment in particular does not bypass the query while offline, allowing users to still view their cached exercises while offline. As such, navigation can be slow on this page, but this is uncontrollable, and the app no longer crashes.

Removed/Changed tags: All team members should be notified, as multiple fragments were fundamentally changed to move onClick() listeners for all navigation buttons. @vceci @kbedoway @dubedo580 @Albaraa18

Closes #57