percent Route Traveled Formatter
fun percentRouteTraveledFormatter(formatter: ValueFormatter<Double, SpannableString>): TripProgressUpdateFormatter.Builder
Content copied to clipboard
A class that formats a TripProgressUpdateValue to a SpannableString representing the percentage of the route distance traveled.
Return
the builder
Parameters
formatter
a formatter instance