tripkit-android / com.skedgo.tripkit.ui.dialog / TripKitDateTimePickerDialogFragment / Builder

Builder

class Builder

Used to create a new instance of the fragment.

Constructors

Name Summary
<init> Used to create a new instance of the fragment.Builder()

Functions

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