DistanceRemainingFormatter

class DistanceRemainingFormatter(distanceFormatterOptions: DistanceFormatterOptions) : ValueFormatter<Double, SpannableString>

Formats trip related data for displaying in the UI

Parameters

distanceFormatterOptions

Constructors

Link copied to clipboard
fun DistanceRemainingFormatter(distanceFormatterOptions: DistanceFormatterOptions)

Functions

Link copied to clipboard
open override fun format(update: Double): SpannableString

Formats the data in the TripProgressUpdateValue for displaying the route distance remaining in the UI