app / sg.edu.ntu.scse.cz2006.gymbuddies.ui.gymlist / GymListViewModel / updateCurrentUserFavourites

updateCurrentUserFavourites

open fun updateCurrentUserFavourites(@NonNull currentFav: HashMap<String!, Int!>): Unit

Sets the current logged in user's favourited gyms and their live favourite counts

Parameters

currentFav - HashMap<String!, Int!>: Logged in user's favourited gym and favourite counts