Search in sources :

Example 1 with CurrentUserPost

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);
    }
}
Also used : CurrentUserPost(com.example.c4q.capstone.userinterface.CurrentUserPost) Venue(com.example.c4q.capstone.database.events.Venue)

Aggregations

Venue (com.example.c4q.capstone.database.events.Venue)1 CurrentUserPost (com.example.c4q.capstone.userinterface.CurrentUserPost)1