tripkit-android / com.skedgo.tripkit.common.util / TripSegmentListResolver / createArrivalSegment

createArrivalSegment

open fun createArrivalSegment(lastSegment:TripSegment!):TripSegment!

Creates the Arrival segment from the last segment

Parameters

lastSegment - TripSegment!: The last segment (or tail) of the segment list

Return TripSegment!: The Arrival segment