Skip to content

Commit

Permalink
Add missing comments to GeospatialActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
akahukas committed Feb 24, 2024
1 parent d8547ff commit 85d04ed
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1494,10 +1494,11 @@ private void switchToMapView() {
}

/**
* TODO: ADD COMNMENTS
* Sets the text and text color of the element showing
* whether the app is recording location data or not.
*
* @param textId
* @param colorId
* @param textId The integer identifier of the string value.
* @param colorId The integer identifier of the color value.
*/
private void setRecordingStatusTextViewStyle(int textId, int colorId) {
if (recordingStatusTextView != null) {
Expand All @@ -1509,7 +1510,9 @@ private void setRecordingStatusTextViewStyle(int textId, int colorId) {
}

/**
* TODO: ADD COMMENTS
* Updates the information about the current recording mode
* and the size of the sets containing the collected location
* data.
*/
private void updateRecordingInfoTextView() {
CollectingMode mode = locationDataCollector.getCurrentCollectingMode().getValue();
Expand All @@ -1531,10 +1534,11 @@ private void updateRecordingInfoTextView() {
}

/**
* TODO: ADD COMMENTS
* Handles the click event emitted from the recording menu.
*
* @param item
* @return
* @param item The menu item which emitted the event.
* @return True if the event was handled successfully,
* False if not.
*/
protected boolean recordingMenuClick(MenuItem item) {
int itemId = item.getItemId();
Expand Down

0 comments on commit 85d04ed

Please sign in to comment.