use of com.example.c4q.capstone.userinterface.CurrentUserPost in project Grupp by tmoronta1208.
the class VenueFragment method setVenueVoteCount.
public void setVenueVoteCount() {
CurrentUserPost currentUserPost = CurrentUserPost.getInstance();
for (Venue venue : venueList) {
int vote = venueVoteCountMap.get(venue.getVenue_id());
venue.setVote_count(vote);
currentUserPost.postVenueVoteCount(eventID, venue.getVenue_id(), vote);
}
}
Aggregations