/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.dialog/TripKitDateTimePickerDialogFragment/Builder

Builder

\ class Builder

Used to create a new instance of the fragment.

Constructors

Builder constructor()

Functions

Name Summary
build fun build(): TripKitDateTimePickerDialogFragment
Builds a new instance of the fragment.
isSingleSelection fun isSingleSelection(label: String?): TripKitDateTimePickerDialogFragment.Builder
setArriveByLabel fun setArriveByLabel(arriveByLabel: String?): TripKitDateTimePickerDialogFragment.Builder
setLeaveAtLabel fun setLeaveAtLabel(leaveAtLabel: String?): TripKitDateTimePickerDialogFragment.Builder
setTimePickerMinutesInterval fun setTimePickerMinutesInterval(interval: Int): TripKitDateTimePickerDialogFragment.Builder
timeMillis fun timeMillis(millis: Long): TripKitDateTimePickerDialogFragment.Builder
The time in milliseconds to display.
withDateTimeMinLimit fun withDateTimeMinLimit(dateTimeMinLimit: Date): TripKitDateTimePickerDialogFragment.Builder
withLocations fun withLocations(departureLocation: Location?, arrivalLocation: Location?): TripKitDateTimePickerDialogFragment.Builder
Sets the departure and arrival location so that the timezones can be supported.
withNegativeAction fun withNegativeAction(label: Int?): TripKitDateTimePickerDialogFragment.Builder
withPositiveAction fun withPositiveAction(label: Int?): TripKitDateTimePickerDialogFragment.Builder
withTimeTag fun withTimeTag(tag: TimeTag): TripKitDateTimePickerDialogFragment.Builder
Automatically populates the fragment using an existing TimeTag.
withTimeType fun withTimeType(timeType: Int): TripKitDateTimePickerDialogFragment.Builder
Sets a TimeType value, which corresponds to: 0 - Leave after 1 - Arrive by
withTimeZones fun withTimeZones(departureTimezone: String?, arrivalTimezone: String?): TripKitDateTimePickerDialogFragment.Builder
Sets the timezones.
withTitle fun withTitle(title: String?): TripKitDateTimePickerDialogFragment.Builder