Interface to provides application related constants For sg.edu.ntu.scse.cz2006.gymbuddies in Gym Buddies!
The fragment display list of buddies (favoured user) of current user it allow user to view profile information, start chat and un-favour of user
View Model object for the BuddyList Fragment Note: This is not really being used for the BuddyList Fragment, but its here due the MVVM model that Jetpack is being based off on
Recycler Adapter for Buddy search result For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies!
The fragment display search options for gym buddies
This is the display buddy search result it gets searching condition from Search buddies fragment, and perform query to Firestore After getting response, it display other users on Recycler view. User can then interact and add them as buddy
View Model object for the Buddy Search Fragment Note: This is not really being used for the Buddy Search Fragment, but its here due the MVVM model that Jetpack is being based off on
Data Model for entity 'hdbcarparks' in the Room database. For sg.edu.ntu.scse.cz2006.gymbuddies.data in Gym Buddies! the object represent a row of record on 'hdbcarparks' table in room database
Recycler Adapter for Carpark Results
For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies!
Activity for showing both carpark and search results
Data Structure object to hold the Gson object for the LTA Carpark Availability API
for sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Data Accessing Object for entity 'hdbcarparks' in the Room database.
Data Structure to store the Chat data in FirebaseFirestore. For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
The Activity displaying chat history between another user, and allows user to sent and receive message.
Recycler Adapter for Chat Object For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies! The adapter is used to display list of chat history of a user
The fragment display list of buddies (favoured user) of current user it allow user to view profile information, start chat and un-favour of user
View Model object for the Chat List Fragment Note: This is not really being used for the Chat List Fragment, but its here due the MVVM model that Jetpack is being based off on
Created by Chia Yu on 22/10/2019. for sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies! Entity class to hold single chat message between user.
Task to run the first run check in the background
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
Animated "heart" button based off Twitter's implementation Adapted from https://github.com/frogermcs/LikeAnimation for sg.edu.ntu.scse.cz2006.gymbuddies.widget in Gym Buddies!
DialogHelper assist creation of frequent used dialog
DiskIOHelper provides the ability to cache bitmap into application's internal storage. it improves loading speed and reduce number of downloads to save user's data usage
Internal data class for storing distance of a marker from another point
for sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Animated "heart" button based off Twitter's implementation Adapted from https://github.com/frogermcs/LikeAnimation for sg.edu.ntu.scse.cz2006.gymbuddies.widget in Gym Buddies!
Task to execute to generate carpark distances from the gym itself
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
FavBuddyRecord is data structure to store user's favoured buddies as list used with FirebaseFirestore to keep track favoured record of user
Animated "heart" button based off Twitter's implementation Adapted from https://github.com/frogermcs/LikeAnimation for sg.edu.ntu.scse.cz2006.gymbuddies.widget in Gym Buddies!
Recycler Adapter for Favourited Gyms
For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies!
Data Structure for storing the Firebase Firestore's Favourite Gym document objects
For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Data Structure to store the Favourited Gym Object for use by the RecyclerView favourites list
For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
This data structure is used to store the object that will be stored in the Firebase Firestore object ONLY
For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Room database for Gym Buddy app it uses singleton design pattern, it will only create one instance at all time schema information will be exported to '../app/schemas/' whenever database version update
Task to retrieve profile picture from the Firebase Auth Provider
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
Gym Helper Class Object
Data Structure to store the data from the gym JSON file
Note that this is just an outer shell. Access gyms for the actual data
For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
The fragment handling the viewing of just the favourited gyms of the user
View model for the favourite gyms fragment
This is used to display Gym Ratings in a RecyclewView, will make use of the FirestoreRating object to store the reviews itself
For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Statistics for Gym Ratings. For use by recycler adapters in recyclerviews
for sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Recycler Adapter for Gym Reviews
For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies!
Activity used to search for a gym with parameters
Data Structure to store Gym Search Parameters
Fragment being used to display the Home activity of the application. Including nearby gyms, gym details, favourited gyms etc
View Model object for the Home Fragment Note: This is not really being used for the Home Fragment, but its here due the MVVM model that Jetpack is being based off on
Helper class for handling input related tasks
Helper class to store common methods to handle JSON files
Converter for SVY21 to WGS84 coordinates Adapted from https://github.com/cgcai/SVY21
This is the main launcher activity that shows up to handle the login page of the application
There are some flags in this activity
Shell object for the LTA Carpark Availiability API's Gson object
for sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
The application's main activity This activity will contain data regarding the various fragments and is mainly used for Jetpack
Recycler Adapter for Chat Message For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies! The adapter is used to display chat message between users.
The interface allow RecyclerView.Adapter to send notify observer of view interactions
Task to parse the gym data file from the app resource
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
The activity that is used to handle profile view/edit for a logged in user
There are a couple of flags that are used here:
Helper class for handling profile pictures in the application
Asynchronous Task to do a search for gyms based on parameters defined by the user in the background of the app
for sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
This activity is used to display the application settings page
Recycler Adapter for Strings of text
For sg.edu.ntu.scse.cz2006.gymbuddies.adapter in Gym Buddies!
Converter for SVY21 to WGS84 coordinates Adapted from https://github.com/cgcai/SVY21
Converter for SVY21 to WGS84 coordinates Adapted from https://github.com/cgcai/SVY21
Helper class for handling RecyclerView swipe capabilities. Calls the callback when swiped
For sg.edu.ntu.scse.cz2006.gymbuddies.util in Gym Buddies!
Task to execute to cut down the number of markers displayed on the map for gyms
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
Internal IntentService for updating carpark availability
for sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
This task handles updating of Firebase Firestore DB user document object in the background
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
Task to handle updating gym favourites when the favourites button is clicked
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
This activity is just used to ensure that we have processed everything from our database that we need to prevent
Task ran to upload profile picture onto Firebase Storage and generate the URL of the image
For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
Data Structure containing the user object from the Firebase Firestore document object
For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Animated "heart" button based off Twitter's implementation Adapted from https://github.com/frogermcs/LikeAnimation for sg.edu.ntu.scse.cz2006.gymbuddies.widget in Gym Buddies!
Utility class to assist repeated view update procedures