-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app structure updated, posting into forum working
- Loading branch information
Showing
77 changed files
with
1,560 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
android-app/app/src/main/java/com/quantum_guys/dncc_eco_sync/adapters/CommentsAdapter.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
698 changes: 698 additions & 0 deletions
698
android-app/app/src/main/java/com/quantum_guys/dncc_eco_sync/adapters/IssueViewHolder.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
android-app/app/src/main/java/com/quantum_guys/dncc_eco_sync/adapters/ResultAdapter.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
android-app/app/src/main/java/com/quantum_guys/dncc_eco_sync/models/Issue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
package com.quantum_guys.dncc_eco_sync.models; | ||
|
||
public class Issue extends Post{ | ||
|
||
String states = "Pending"; // Pending, Resolved, Processing | ||
String issueType; // | ||
|
||
boolean isAnonymous; | ||
|
||
float lat, lon; | ||
String address; | ||
|
||
|
||
public Issue(String postId, String userId, String name, String timestamp, String likes, String favourites, String description, String username, String institute, String dept, String userimage, int image_count, String image_url_0, String image_url_1, String image_url_2, String image_url_3, String image_url_4, String image_url_5, String image_url_6, int liked_count, int comment_count, String states, String issueType, boolean isAnonymous, float lat, float lon, String address) { | ||
super(postId, userId, name, timestamp, likes, favourites, description, username, institute, dept, userimage, image_count, image_url_0, image_url_1, image_url_2, image_url_3, image_url_4, image_url_5, image_url_6, liked_count, comment_count); | ||
this.states = states; | ||
this.issueType = issueType; | ||
this.isAnonymous = isAnonymous; | ||
this.lat = lat; | ||
this.lon = lon; | ||
this.address = address; | ||
} | ||
|
||
public String getStates() { | ||
return states; | ||
} | ||
|
||
public void setStates(String states) { | ||
this.states = states; | ||
} | ||
|
||
public String getIssueType() { | ||
return issueType; | ||
} | ||
|
||
public void setIssueType(String issueType) { | ||
this.issueType = issueType; | ||
} | ||
|
||
public boolean isAnonymous() { | ||
return isAnonymous; | ||
} | ||
|
||
public void setAnonymous(boolean anonymous) { | ||
isAnonymous = anonymous; | ||
} | ||
|
||
public float getLat() { | ||
return lat; | ||
} | ||
|
||
public void setLat(float lat) { | ||
this.lat = lat; | ||
} | ||
|
||
public float getLon() { | ||
return lon; | ||
} | ||
|
||
public void setLon(float lon) { | ||
this.lon = lon; | ||
} | ||
|
||
public String getAddress() { | ||
return address; | ||
} | ||
|
||
public void setAddress(String address) { | ||
this.address = address; | ||
} | ||
} |
Oops, something went wrong.