tripkit-android / com.skedgo.tripkit.routing / TripGroup / <init>

<init>

TripGroup()

Represents a list of [`Trip`](../-trip/index.md)s. A list ofTrips comprises of a display trip (aka representative trip) and alternative trips. A display trip can be accessed via [`#getDisplayTrip()`](get-display-trip.md) while alternative trips can be retrieved via#getTrips() minus [`#getDisplayTrip()`](get-display-trip.md). That's because#getTrips() returns a list of `[Trip`](../-trip/index.md)s including alternative trips and display trip.

Besides, a [`TripGroup`](index.md) also hold info related toSource via `[#getSources()`](get-sources.md).