Estimated Time To Arrival Formatter
class EstimatedTimeToArrivalFormatter(context: Context, timeFormatType: Int) : 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
EstimatedTimeToArrivalFormatter
Link copied to clipboard
fun EstimatedTimeToArrivalFormatter(context: Context, timeFormatType: Int = TimeFormat.NONE_SPECIFIED)
Content copied to clipboard
an application context instance
Functions
format
Link copied to clipboard