timeRemainingFormatter

fun timeRemainingFormatter(formatter: ValueFormatter<Double, SpannableString>): TripProgressUpdateFormatter.Builder

A class that formats a TripProgressUpdateValue to a SpannableString representing the time remaining.

Return

the builder

Parameters

formatter

a formatter instance