tripkit-android / com.skedgo.tripkit.routing / TripGroup / changeDisplayTrip

changeDisplayTrip

open fun changeDisplayTrip(@NonNull trip:Trip):TripGroup!

Parameters

trip - Trip: This trip must belong to group's trips. Otherwise, `[IllegalStateException`](https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalStateException.html) will be thrown.

Exceptions

IllegalStateException - if the trip doesn't belong to the group.

Return TripGroup!: A TripGroup having new display trip.