applyFilters

fun applyFilters(startDate: Timestamp?, endDate: Timestamp?, location: String, minGuests: Int, maxGuests: Int, minRating: Double?)

Applies filters to the campsite list in the Explore screen.

Parameters

startDate

The earliest available date for the campsite.

endDate

The latest available date for the campsite.

location

The location to filter campsites by.

minGuests

The minimum number of guests.

maxGuests

The maximum number of guests.

minRating

The minimum campsite rating.