EstimatedTimeToArrivalFormatter
class EstimatedTimeToArrivalFormatter(context: Context, timeFormatType: Int = TimeFormat.NONE_SPECIFIED) : ValueFormatter<Long, SpannableString>
Content copied to clipboard
Formats trip related data for displaying in the UI
Parameters
context
an application context instance
timeFormatType
a value indicating whether the time should be formatted in 12 or 24 hour format
Constructors
Link copied to clipboard
fun EstimatedTimeToArrivalFormatter(context: Context, timeFormatType: Int = TimeFormat.NONE_SPECIFIED)
Content copied to clipboard
Functions
Link copied to clipboard
Formats an update to a SpannableString representing the estimated time to arrival