app / sg.edu.ntu.scse.cz2006.gymbuddies.ui.gymlist / GymListFragment / delete

delete

open fun delete(@Nullable position: Int?): Boolean

When a gym in the favourites list has been swiped to unfavourite

Parameters

position - Int?: The position of the item being unfavourited

Return
Boolean: false if no errors