EstimatedTimeToArrivalFormatter
class EstimatedTimeToArrivalFormatter(context: Context, timeFormatType: Int = TimeFormat.NONE_SPECIFIED) : ValueFormatter<Long, SpannableString>
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
Functions
Link copied to clipboard
Formats an update to a SpannableString representing the estimated time to arrival